@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc +++ a/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); } }); --