mirror of
https://github.com/JasonHHouse/gaps.git
synced 2026-02-09 12:18:51 -06:00
Adding more payload support
This commit is contained in:
@@ -77,6 +77,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
});
|
||||
});
|
||||
|
||||
//Exposing function for onClick()
|
||||
window.testTmdbKey = testTmdbKey;
|
||||
window.saveTmdbKey = saveTmdbKey;
|
||||
window.testPlexServer = testPlexServer;
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
|
||||
import {getRecommendedMoviesForTable} from '/js/modules/common.js';
|
||||
import {Payload} from '/js/modules/payload.js';
|
||||
|
||||
let libraryTitle, notSearchedYetContainer, movieContainer, searchContainer, noMovieContainer, movieSearchingContainer;
|
||||
let plexServers;
|
||||
@@ -90,7 +91,7 @@ jQuery(function ($) {
|
||||
|
||||
backButton.text('Restart');
|
||||
disconnect();
|
||||
if (payload && payload.code === 0) {
|
||||
if (payload && payload.code === Payload.SEARCH_SUCCESSFUL) {
|
||||
searchTitle.text(`Search Complete`);
|
||||
searchDescription.text(`${movieCounter} movies to add to complete your collections. Below is everything Gaps found that is missing from your movie collections.`);
|
||||
setCopyToClipboardEnabled(true);
|
||||
|
||||
Reference in New Issue
Block a user