}
.error .error-message {
color: #FFFFFF;
- font-size: .8em;
+ font-size: .8em;
padding: 10px;
- cursor: pointer;
+ width: 207px;
+ height: 54px;
+ overflow-y: auto;
}
} else if (xml_http_request.status == "409"){
_ajax_alert_on("ERROR", "${_('Conflict')}" + " [" + xml_http_request.status + "]\n" + xml_http_request.responseText);
} else {
- _ajax_alert_on("ERROR", "${_('Illegal Error')}");
- if('error' == status) {
- _ajax_notifications("${_('Detail Message: Error')}");
- } else if('notmodified' == status){
- _ajax_notifications("${_('Detail Message: Not Modified')}");
- } else if('timeout' == status){
- _ajax_notifications("${_('Detail Message: Timeout')}");
- } else if('parsererror' == status){
- _ajax_notifications("${_('Detail Message: Parse Error')}");
- }
+ _ajax_alert_on("ERROR", "${_('Illegal Error')}" + "\n" + xml_http_request.responseText);
}
}
if (msg == "") {
$("#_ajax1_lock").hide();
} else {
- $("#_ajax1_lock .error-message").text(msg);
+ $("#_ajax1_lock .error-message").html('<span style="white-space:pre">' + msg + '</span>');
$("#_ajax1_lock").show('pulsate',{times:2});
if(status == 'SUCCEED'){
<!--
$(document).ready(function(){
-$("#ajax").html('<div id="_ajax1_lock" class="error" ><div class="error-message"></div></div>');
-$("#_ajax1_lock").hide();
-$("#ajax").click(function(){
- $("#_ajax1_lock").hide();
-});
-
-
ajax_get("#msg .m-panel .m-wrap #mouter #mguide #minner #msg_display",
"${ctx.homepath}/msg.part", null);
ajax_get("#tree_display", "${ctx.homepath}/tree.part", null);
</style>
</head>
<body>
-<div id="ajax"></div>
+<div id="ajax">
+ <div id="_ajax1_lock" class="error" style="display:none;">
+ <div class="error-message">
+ </div>
+ </div>
+</div>
<div id="screen" style="display: none"></div>
<div id="dialog" style="display: none"></div>
<div id="page">