From 04cd9927e873171642c962f74baee88aa44f0281 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Mon, 30 Jan 2017 00:49:58 +0000 Subject: [PATCH] Update jQuery 1.8.3 to 2.2.4. --- CHANGES.md | 1 + gui/slick/interfaces/default/home_postprocess.tmpl | 2 +- gui/slick/interfaces/default/inc_top.tmpl | 4 ++-- gui/slick/js/blackwhite.js | 6 +++--- gui/slick/js/config.js | 4 ++-- gui/slick/js/configProviders.js | 2 +- gui/slick/js/configSubtitles.js | 2 +- gui/slick/js/displayShow.js | 6 +++--- gui/slick/js/editShow.js | 2 +- gui/slick/js/lib/jquery-1.8.3.min.js | 2 -- gui/slick/js/lib/jquery-2.2.4.min.js | 4 ++++ gui/slick/js/newShow.js | 2 +- gui/slick/js/script.js | 2 +- gui/slick/js/testRename.js | 2 +- 14 files changed, 22 insertions(+), 19 deletions(-) delete mode 100644 gui/slick/js/lib/jquery-1.8.3.min.js create mode 100644 gui/slick/js/lib/jquery-2.2.4.min.js diff --git a/CHANGES.md b/CHANGES.md index c0be8240..388a8545 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -40,6 +40,7 @@ * Update jQuery UI Touch Punch 0.2.2 to 0.2.3 * Update qTip 2.2.1 to 2.2.2 * Update tablesorter 2.17.7 to 2.28.5 +* Update jQuery 1.8.3 to 2.2.4 [develop changelog] diff --git a/gui/slick/interfaces/default/home_postprocess.tmpl b/gui/slick/interfaces/default/home_postprocess.tmpl index 53cc8ce5..4b00ec32 100644 --- a/gui/slick/interfaces/default/home_postprocess.tmpl +++ b/gui/slick/interfaces/default/home_postprocess.tmpl @@ -96,7 +96,7 @@ #raw jQuery('#episodeDir').fileBrowser({title:'Select Unprocessed Episode Folder', key:'postprocessPath'}); $('#process_method').change(function(){ - $('#move-and-trash').css({'display':('move' == $(this).attr('value') ? 'block' : 'none')}) + $('#move-and-trash').css({'display':('move' == $(this).val() ? 'block' : 'none')}) }); #end raw //--> diff --git a/gui/slick/interfaces/default/inc_top.tmpl b/gui/slick/interfaces/default/inc_top.tmpl index fa477f7b..2a372d27 100644 --- a/gui/slick/interfaces/default/inc_top.tmpl +++ b/gui/slick/interfaces/default/inc_top.tmpl @@ -49,12 +49,12 @@ - + - + diff --git a/gui/slick/js/blackwhite.js b/gui/slick/js/blackwhite.js index 277e77fa..cbff835b 100644 --- a/gui/slick/js/blackwhite.js +++ b/gui/slick/js/blackwhite.js @@ -19,12 +19,12 @@ $('#remove-white, #remove-black').click(function() { }); $('#new-white, #new-black').click(function() { - var group = $('#addToPoolText').attr('value'); + var group = $('#addToPoolText').val(); if ('' != group) { var option = $('') - .attr('value', option.value) + .val(option.value) .text(option.text); self.append($option); }); diff --git a/gui/slick/js/configSubtitles.js b/gui/slick/js/configSubtitles.js index 034f204a..78a3e500 100644 --- a/gui/slick/js/configSubtitles.js +++ b/gui/slick/js/configSubtitles.js @@ -48,7 +48,7 @@ $(document).ready(function(){ $(this).showHideServices(); }); - $('.service_enabler').live('click', function(){ + $('.service_enabler').on('click', function(){ $(this).refreshServiceList(); }); diff --git a/gui/slick/js/displayShow.js b/gui/slick/js/displayShow.js index 67efea55..9ac81cd7 100644 --- a/gui/slick/js/displayShow.js +++ b/gui/slick/js/displayShow.js @@ -9,7 +9,7 @@ $(document).ready(function() { // handle the show selection dropbox $('#pickShow').change(function() { - var val = $(this).attr('value'); + var val = $(this).val(); if (val != 0) window.location.href = $.SickGear.Root + '/home/displayShow?show=' + val; }); @@ -56,8 +56,8 @@ $(document).ready(function() { this.checked && epArr.push($(this).attr('id')) }); if (epArr.length) - window.location.href = $.SickGear.Root + '/home/setStatus?show=' + $('#showID').attr('value') + - '&eps=' + epArr.join('|') + '&status=' + $('#statusSelect').attr('value'); + window.location.href = $.SickGear.Root + '/home/setStatus?show=' + $('#showID').val() + + '&eps=' + epArr.join('|') + '&status=' + $('#statusSelect').val(); }); // show/hide different types of rows when the checkboxes are changed diff --git a/gui/slick/js/editShow.js b/gui/slick/js/editShow.js index f46fc93c..a40de222 100644 --- a/gui/slick/js/editShow.js +++ b/gui/slick/js/editShow.js @@ -67,7 +67,7 @@ $(document).ready(function () { $('#SceneException').fadeIn('fast', 'linear'); var option = $('