#908 attach ajax event to document element

This commit is contained in:
akasima 2014-08-13 16:51:22 +09:00
parent e2ecc73fba
commit 71d97e631c
3 changed files with 3 additions and 3 deletions

View file

@ -1763,7 +1763,7 @@ function xml2json(xml, tab, ignoreAttrib) {
} }
$(function($){ $(function($){
$('.wfsr') $(document)
.ajaxStart(function(){ .ajaxStart(function(){
$(window).bind('beforeunload', beforeUnloadHandler); $(window).bind('beforeunload', beforeUnloadHandler);
}) })

2
common/js/xe.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -527,7 +527,7 @@ function xml2json(xml, tab, ignoreAttrib) {
} }
$(function($){ $(function($){
$('.wfsr') $(document)
.ajaxStart(function(){ .ajaxStart(function(){
$(window).bind('beforeunload', beforeUnloadHandler); $(window).bind('beforeunload', beforeUnloadHandler);
}) })