Bugzilla – Attachment 26571 Details for
Bug 11563
Class noEnterSubmit no longer functioning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11563 [QA Followup] - Change .live() to .on()
PASSED-QA-Bug-11563-QA-Followup---Change-live-to-o.patch (text/plain), 1.28 KB, created by
Katrin Fischer
on 2014-03-25 20:58:26 UTC
(
hide
)
Description:
[PASSED QA] Bug 11563 [QA Followup] - Change .live() to .on()
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-03-25 20:58:26 UTC
Size:
1.28 KB
patch
obsolete
>From 5e57854f2661c91aa3578bb2ba9de8e552a3415f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 26 Feb 2014 12:51:11 -0500 >Subject: [PATCH] [PASSED QA] Bug 11563 [QA Followup] - 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> >--- > koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js >index 2bc8424..61a4153 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js >@@ -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); > }); > }); >@@ -91,4 +91,4 @@ function toUC(f) { > var x=f.value.toUpperCase(); > f.value=x; > return true; >-} >\ No newline at end of file >+} >-- >1.8.3.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11563
:
25615
|
25676
|
25678
|
25935
|
26443
|
26444
|
26445
|
26545
|
26560
|
26561
|
26562
|
26563
|
26566
|
26567
|
26568
|
26569
|
26570
| 26571 |
26572
|
26573