diff --git a/app/assets/javascripts/inc/ajax_setting.js b/app/assets/javascripts/inc/ajax_setting.js index 18d0da33..c23a73bf 100644 --- a/app/assets/javascripts/inc/ajax_setting.js +++ b/app/assets/javascripts/inc/ajax_setting.js @@ -1,10 +1,3 @@ -// $.ready(function(){ -// $('body').bind("ajaxSend", function(){ -// $('
').appendTo('body'); -// }).bind("ajaxComplete", function(){ -// $('body > div.modal-backdrop').hide().remove(); -// }); -// }); jQuery(document).ajaxStart(function(){ $('').appendTo('body'); }); diff --git a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/setting.html.erb b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/setting.html.erb index 7b8211b4..298e21eb 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/setting.html.erb +++ b/vendor/built_in_modules/news/app/views/panel/news/back_end/news_approvals/setting.html.erb @@ -48,7 +48,7 @@ $(document).ready(function() { dataType: "script", url:$(this).parents("from").attr("href"), data:$(this).parents("form").serialize() - });//.ajaxStart(function(){$('body').append('')});//.ajaxStop(function(){"#modal_layer"}).remove(); + }); }); }); \ No newline at end of file