clean up unless code
This commit is contained in:
parent
ae006cc29f
commit
7f3b090bb7
|
@ -1,10 +1,3 @@
|
|||
// $.ready(function(){
|
||||
// $('body').bind("ajaxSend", function(){
|
||||
// $('<div class="modal-backdrop fade in"></div>').appendTo('body');
|
||||
// }).bind("ajaxComplete", function(){
|
||||
// $('body > div.modal-backdrop').hide().remove();
|
||||
// });
|
||||
// });
|
||||
jQuery(document).ajaxStart(function(){
|
||||
$('<div class="modal-backdrop fade in" id="sys_modal"><img src="/assets/ajax-loader.gif" style="margin-top: 25%;margin-left: 50%;"></div>').appendTo('body');
|
||||
});
|
||||
|
|
|
@ -48,7 +48,7 @@ $(document).ready(function() {
|
|||
dataType: "script",
|
||||
url:$(this).parents("from").attr("href"),
|
||||
data:$(this).parents("form").serialize()
|
||||
});//.ajaxStart(function(){$('body').append('<div class="modal-backdrop fade in" id="modal_layer"></div>')});//.ajaxStop(function(){"#modal_layer"}).remove();
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
Loading…
Reference in New Issue