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:
commit
d3b40e50e3
@ -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
|
||||
|
@ -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) {
|
||||
|
@ -139,6 +139,6 @@ $(document).ready(function () {
|
||||
}
|
||||
|
||||
$('#rootDirText').change(updateSampleText);
|
||||
$('#whichSeries').live('change', updateSampleText);
|
||||
$('#searchResults').on('change', '#whichSeries', updateSampleText);
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user