Rename enableAjaxForm

pull/279/head
Halil İbrahim Kalkan 8 years ago
parent fbe6ca74a4
commit bcab297d7b

@ -1,6 +1,6 @@
(function ($) {
function enableAjaxForm($forms, validate) {
function enableFormFeatures($forms, validate) {
if ($forms.length) {
$forms.each(function () {
var $form = $(this);
@ -41,7 +41,7 @@
container: 'body'
});
enableAjaxForm(args.$el.findWithSelf('form'), true);
enableFormFeatures(args.$el.findWithSelf('form'), true);
});
abp.dom.onNodeRemoved(function (args) {
@ -59,7 +59,7 @@
container: 'body'
});
enableAjaxForm($('form'));
enableFormFeatures($('form'));
});
})(jQuery);
Loading…
Cancel
Save