1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

Forum-update fixes

This commit is contained in:
Cameron
2013-04-21 21:31:42 -07:00
parent f07a214809
commit 449f31546a
6 changed files with 308 additions and 529 deletions

View File

@@ -121,6 +121,25 @@ $(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);
return true;
}
);
$('input[data-loading-text]').on('click', function()
{
var caption = $(this).attr('data-loading-text');
$(this).val(caption);
$(this).removeClass('btn-success');
//$(this).attr('disabled', 'disabled').val(caption);
return true;
}
);
/* Bootstrap Modal window within an iFrame */
$('.e-modal').on('click', function(e)
{
@@ -134,7 +153,7 @@ $(document).ready(function()
$('.modal').modal('show');
});