1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-04 15:12:23 -05:00

Merge pull request #1192 from abeloin/patch-jquery_live_issue

Fix jQuery live not working with 1.9+:
This commit is contained in:
echel0n 2015-01-17 19:20:56 -08:00
commit d3b40e50e3
3 changed files with 5 additions and 5 deletions

View File

@ -47,10 +47,10 @@ $(document).ready(function(){
$('#editAService').change(function(){
$(this).showHideServices();
});
$('.service_enabler').live('click', function(){
$('.service_enabler').on('click', function(){
$(this).refreshServiceList();
});
});
// initialization stuff

View File

@ -216,7 +216,7 @@ $(document).ready(function () {
}
$('#rootDirText').change(updateSampleText);
$('#whichSeries').live('change', updateSampleText);
$('#searchResults').on('change', '#whichSeries', updateSampleText);
$('#nameToSearch').keyup(function (event) {
if (event.keyCode == 13) {

View File

@ -139,6 +139,6 @@ $(document).ready(function () {
}
$('#rootDirText').change(updateSampleText);
$('#whichSeries').live('change', updateSampleText);
$('#searchResults').on('change', '#whichSeries', updateSampleText);
});