Browse Source

Rename enableAjaxForm

pull/279/head
Halil İbrahim Kalkan 9 years ago
parent
commit
bcab297d7b
  1. 6
      src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore.mvc.ui.theme.shared/bootstrap/dom-event-handlers.js

6
src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore.mvc.ui.theme.shared/bootstrap/dom-event-handlers.js

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