Bugzilla – Attachment 100604 Details for
Bug 17268
Advanced cataloging editor - rancor - macros are lost when browser storage cleared
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17268: Handle booleans in JS as such
Bug-17268-Handle-booleans-in-JS-as-such.patch (text/plain), 1.76 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-03-11 19:09:45 UTC
(
hide
)
Description:
Bug 17268: Handle booleans in JS as such
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-03-11 19:09:45 UTC
Size:
1.76 KB
patch
obsolete
>From fd831326978c2e7cce8f12209157aba575b016c7 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 11 Mar 2020 16:09:27 -0300 >Subject: [PATCH] Bug 17268: Handle booleans in JS as such > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >index 90eaa2d3a3..da2ac33f69 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >@@ -782,7 +782,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > name: macro.name, > patron_id: [% logged_in_user.borrowernumber | html %], > macro_text: macro.contents, >- shared: 0 >+ shared: false > }) > }; > $.ajax(options) >@@ -846,7 +846,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > name: name, > patron_id: [% logged_in_user.borrowernumber | html %], > macro_text: "", >- shared: 0 >+ shared: false > }) > }; > $.ajax(options) >@@ -897,9 +897,9 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > > $(".macro_shared").change(function(){ > if(this.checked){ >- saveMacro(1); >+ saveMacro(true); > } else { >- saveMacro(0); >+ saveMacro(false); > } > }); > >-- >2.25.1
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 17268
:
93474
|
95948
|
96616
|
96617
|
96618
|
96757
|
96758
|
96759
|
96760
|
100559
|
100560
|
100561
|
100562
|
100563
|
100564
|
100565
|
100569
|
100570
|
100571
|
100572
|
100573
|
100574
|
100575
|
100584
|
100604
|
100758
|
100759
|
100760
|
100761
|
100762
|
100763
|
100766
|
100767
|
100768
|
100769
|
100770
|
100771
|
100772
|
100773
|
100774
|
100775
|
100776
|
100777
|
100780
|
100781
|
100782
|
100783
|
100784
|
100785
|
100983
|
100984
|
100985
|
100986
|
100987
|
100988
|
101980
|
103507
|
103508
|
103509
|
103510
|
103511
|
103512
|
103513
|
103514
|
104144
|
104145
|
104146
|
104147
|
104148
|
104149
|
104150
|
104151
|
104152
|
104153