Lines 828-834
require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
Link Here
|
828 |
$( '#macro-list' ).empty(); |
828 |
$( '#macro-list' ).empty(); |
829 |
$("#convert-macros").remove(); |
829 |
$("#convert-macros").remove(); |
830 |
if( Object.keys(Preferences.user.macros).length ){ |
830 |
if( Object.keys(Preferences.user.macros).length ){ |
831 |
$convert = $( '<button class="btn btn-default" id="convert-macros" title="Convert browser storage macros"><i class="fa fa-adjust"></i> Convert old macros</button>' ); |
831 |
$convert = $( '<button class="btn btn-default" id="convert-macros" title="'+_("Convert browser storage macros")+'><i class="fa fa-adjust" aria-hidden="true"></i> Convert old macros</button>' ); |
832 |
$convert.click( function(){ |
832 |
$convert.click( function(){ |
833 |
if( !confirm( _("This will retrieve macros stored in the brower, save them in the database, and delete them from the browser. Proceed?") ) ){ |
833 |
if( !confirm( _("This will retrieve macros stored in the brower, save them in the database, and delete them from the browser. Proceed?") ) ){ |
834 |
return; |
834 |
return; |
835 |
- |
|
|