Bug 11563: (follow-up) change .live() to .on()
The jquery event handler .live() has been deprecated. It is recommended
that .on() be used instead.
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 1226f901ce)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
bbe90f9000
commit
a489bf50f2
|
|
@ -25,7 +25,7 @@ function _(s) { return s; } // dummy function for gettext
|
|||
return false;
|
||||
});
|
||||
|
||||
$('.noEnterSubmit').live("keypress", function(e){
|
||||
$("body").on("keypress", ".noEnterSubmit", function(e){
|
||||
return checkEnter(e);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue