alert 타이틀 제거, 공통코드 취득용 enum추가.
This commit is contained in:
@@ -29,17 +29,29 @@ var ajaxUtil = {
|
||||
if (code == '400') {
|
||||
message = ajaxUtil._msg400;
|
||||
}
|
||||
ajaxUtil._alert(message, '오류 안내');
|
||||
// ajaxUtil._alert(message, '오류 안내');
|
||||
ajaxUtil._alert(message, null);
|
||||
},
|
||||
_alert : function (alertMessage, alertTitle, afterEvent) {
|
||||
etUI.dialog.alert({
|
||||
title: alertTitle,
|
||||
message: alertMessage,
|
||||
type: "alert",
|
||||
callback: function() {
|
||||
console.log("alert callback");
|
||||
},
|
||||
});
|
||||
if(alertTitle){
|
||||
etUI.dialog.alert({
|
||||
title: alertTitle,
|
||||
message: alertMessage,
|
||||
type: "alert",
|
||||
callback: function() {
|
||||
console.log("alert callback");
|
||||
},
|
||||
});
|
||||
} else {
|
||||
etUI.dialog.alert({
|
||||
message: alertMessage,
|
||||
type: "alert",
|
||||
callback: function() {
|
||||
console.log("alert callback");
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
},
|
||||
_alertId : function (alertId, afterEvent) {
|
||||
ajaxUtil._alertMethod({
|
||||
|
||||
Reference in New Issue
Block a user