From 7f902c5c670d6d526dae5363614f9ffaaaa6c787 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Fri, 14 Oct 2016 12:42:04 +0200 Subject: [PATCH] Bug 16239: Get rid of icon-* classes --- koha-tmpl/intranet-tmpl/prog/css/cateditor.css | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/cateditor.css b/koha-tmpl/intranet-tmpl/prog/css/cateditor.css index 800b1a2..6840d0c 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/cateditor.css +++ b/koha-tmpl/intranet-tmpl/prog/css/cateditor.css @@ -283,7 +283,7 @@ body { width: 14em; } -.icon-loading { +.fa.fa-spinner { display: inline-block; height: 16px; width: 16px; 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 6e2d91c..14e9023 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc @@ -838,7 +838,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr // Click bindings $( '#save-record, #save-dropdown a' ).click( function() { - $( '#save-record' ).find('i').attr( 'class', 'icon-loading' ).siblings( 'span' ).text( _("Saving...") ); + $( '#save-record' ).find('i').attr( 'class', 'fa fa-spinner' ).siblings( 'span' ).text( _("Saving...") ); function finishCb(result) { if ( result.error == 'syntax' ) { @@ -882,7 +882,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr } } ); - $( '#save-record' ).find('i').attr( 'class', 'icon-hdd' ); + $( '#save-record' ).find('i').attr( 'class', 'fa fa-hdd-o' ); if ( result.error ) { // Reset backend info -- 2.1.4