|
|
|
|
@ -35,7 +35,7 @@
|
|
|
|
|
//change text
|
|
|
|
|
if ($buttonInnerSpan.length && $button.attr('data-busy-text')) {
|
|
|
|
|
$button.data('buttonOriginalText', $buttonInnerSpan.html());
|
|
|
|
|
$buttonInnerSpan.html($button.attr('data-busy-text'));
|
|
|
|
|
$buttonInnerSpan.text($button.attr('data-busy-text'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$button.addClass('button-busy');
|
|
|
|
|
@ -55,7 +55,7 @@
|
|
|
|
|
|
|
|
|
|
//restore text
|
|
|
|
|
if ($buttonInnerSpan.length && $button.data('buttonOriginalText')) {
|
|
|
|
|
$buttonInnerSpan.html($button.data('buttonOriginalText'));
|
|
|
|
|
$buttonInnerSpan.text($button.data('buttonOriginalText'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$button.removeClass('button-busy');
|
|
|
|
|
|