1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Merge pull request #3100 from Serios/patch-12

Truly disable a button on FormSubmit
This commit is contained in:
Cameron
2018-04-24 13:28:19 -07:00
committed by GitHub

View File

@@ -373,6 +373,7 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
if($button.attr('data-disable') == 'true')
{
$button.addClass('disabled');
$button.prop("disabled", true);
}
});