Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions statics/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,12 @@
$this = $($_this),
href = $this.prop('href'),
msg = $this.data('msg');

var errorDialog = art.dialog({
icon: 'error',
title: '提示信息'
}).hide();

art.dialog({
title: false,
icon: 'question',
Expand All @@ -257,7 +263,8 @@
}
} else if (data.state === 'fail') {
//art.dialog.alert(data.info);
alert(data.info);//暂时处理方案
//alert(data.info);//暂时处理方案
errorDialog.content(data.info).show();
}
});
},
Expand Down Expand Up @@ -716,4 +723,4 @@ function open_iframe_dialog(url,title,options){
Wind.use('artDialog','iframeTools', function () {
art.dialog.open(url, params);
});
}
}