Browse Source

Rename enableAjaxForm

pull/279/head
Halil İbrahim Kalkan 8 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 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