Bugzilla – Attachment 38018 Details for
Bug 13364
Add a call number browser to add item page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13364: Remove unused JS functions
Bug-13364-Remove-unused-JS-functions.patch (text/plain), 1.33 KB, created by
Jonathan Druart
on 2015-04-17 10:04:51 UTC
(
hide
)
Description:
Bug 13364: Remove unused JS functions
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-04-17 10:04:51 UTC
Size:
1.33 KB
patch
obsolete
>From bb086e6c7d5d03fd2c95b6be6f551952e38851bd Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Apr 2015 12:04:24 +0200 >Subject: [PATCH] Bug 13364: Remove unused JS functions > >--- > cataloguing/value_builder/cn_browser.pl | 14 -------------- > 1 file changed, 14 deletions(-) > >diff --git a/cataloguing/value_builder/cn_browser.pl b/cataloguing/value_builder/cn_browser.pl >index 17dfd83..44a65df 100755 >--- a/cataloguing/value_builder/cn_browser.pl >+++ b/cataloguing/value_builder/cn_browser.pl >@@ -6,11 +6,6 @@ use C4::Auth; > use C4::ClassSource; > use C4::Output; > >-sub plugin_parameters { >- my ( $dbh, $record, $tagslib, $i, $tabloop ) = @_; >- return ""; >-} >- > sub plugin_javascript { > my ( $dbh, $record, $tagslib, $field_number, $tabloop ) = @_; > my $function_name = "328" . ( int( rand(100000) ) + 1 ); >@@ -18,18 +13,9 @@ sub plugin_javascript { > <script type=\"text/javascript\"> > //<![CDATA[ > >-function Focus$function_name(subfield_managed) { >-return 1; >-} >- >-function Blur$function_name(subfield_managed) { >- return 1; >-} >- > function Clic$function_name(i) { > q = document.getElementById('$field_number'); > window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=cn_browser.pl&popup&q=\"+q.value,\"cnbrowser\",\"width=500,height=400,toolbar=false,scrollbars=yes\"); >- > } > > //]]> >-- >2.1.0
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 13364
:
34041
|
34108
|
34109
|
34476
|
34540
|
34541
|
34542
|
34543
|
34586
|
34587
|
34588
|
34589
|
35067
|
35549
|
36194
|
36235
|
36249
|
36431
|
36596
|
36597
|
36598
|
36599
|
36600
|
36601
|
36723
|
36782
|
37192
|
37193
|
37194
|
37195
|
38010
|
38011
| 38018 |
38019
|
38894