Lines 838-844
require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
Link Here
|
838 |
|
838 |
|
839 |
// Click bindings |
839 |
// Click bindings |
840 |
$( '#save-record, #save-dropdown a' ).click( function() { |
840 |
$( '#save-record, #save-dropdown a' ).click( function() { |
841 |
$( '#save-record' ).find('i').attr( 'class', 'icon-loading' ).siblings( 'span' ).text( _("Saving...") ); |
841 |
$( '#save-record' ).find('i').attr( 'class', 'fa fa-spinner' ).siblings( 'span' ).text( _("Saving...") ); |
842 |
|
842 |
|
843 |
function finishCb(result) { |
843 |
function finishCb(result) { |
844 |
if ( result.error == 'syntax' ) { |
844 |
if ( result.error == 'syntax' ) { |
Lines 882-888
require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
Link Here
|
882 |
} |
882 |
} |
883 |
} ); |
883 |
} ); |
884 |
|
884 |
|
885 |
$( '#save-record' ).find('i').attr( 'class', 'icon-hdd' ); |
885 |
$( '#save-record' ).find('i').attr( 'class', 'fa fa-hdd-o' ); |
886 |
|
886 |
|
887 |
if ( result.error ) { |
887 |
if ( result.error ) { |
888 |
// Reset backend info |
888 |
// Reset backend info |
889 |
- |
|
|