Bugzilla – Attachment 26561 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]
Bug 11563 [QA Followup] - Change .live() to .on()
Bug-11563-QA-Followup---Change-live-to-on.patch (text/plain), 1.22 KB, created by
Biblibre Sandboxes
on 2014-03-25 15:33:03 UTC
(
hide
)
Description:
Bug 11563 [QA Followup] - Change .live() to .on()
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2014-03-25 15:33:03 UTC
Size:
1.22 KB
patch
obsolete
>From 67028b14a86ce948f479da122565ce862072d757 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] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | 4 ++-- > 1 files 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.7.2.5
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