mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Issue #235 - Database Utility fixes.
This commit is contained in:
@@ -123,8 +123,13 @@ $(document).ready(function()
|
||||
|
||||
$('button[data-loading-text],a[data-loading-text]').on('click', function()
|
||||
{
|
||||
var caption = $(this).attr('data-loading-text');
|
||||
$(this).attr('disabled', 'disabled').html(caption);
|
||||
var caption = $(this).attr('data-loading-text');
|
||||
$(this).removeClass('btn-success');
|
||||
$(this).html(caption);
|
||||
if($(this).attr('data-disable') == 'true')
|
||||
{
|
||||
$(this).attr('disabled', 'disabled');
|
||||
}
|
||||
return true;
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user