mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
issue 675: display line feeds in ajax alert messages.
plus, make unknown error message more detail. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9921 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
77d1efccba
commit
27a62f1a36
3 changed files with 10 additions and 8 deletions
|
|
@ -265,7 +265,8 @@ $.exec_xml = window.exec_xml = function(module, act, params, callback_func, resp
|
|||
return $.exec_xml.onerror(module, act, ret, callback_func, response_tags, callback_func_arg, fo_obj);
|
||||
}
|
||||
|
||||
alert(ret['message'] || 'error!');
|
||||
alert( (ret['message']||'An unknown error occured while loading ['+module+'.'+act+']').replace(/\\n/g, '\n') );
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue