SWF-796 - Spring Travel MVC Sample: Partial-refresh of messages div on booking form validation error causes erroneous Dojo Popup to appear with empty body in FF3
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -295,7 +295,7 @@ dojo.declare("Spring.RemotingHandler", Spring.AbstractRemotingHandler, {
|
||||
|
||||
console.error("HTTP status code: ", ioArgs.xhr.status);
|
||||
|
||||
if (Spring.debug) {
|
||||
if (Spring.debug && ioArgs.xhr.status != 200) {
|
||||
var dialog = new dijit.Dialog({});
|
||||
dojo.connect(dialog, "hide", dialog, function(){
|
||||
this.destroyRecursive(false);
|
||||
|
||||
Reference in New Issue
Block a user