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);
|
||||
|
||||
@@ -82,12 +82,12 @@
|
||||
elementId : 'smoking',
|
||||
widgetType : "dijit.form.RadioButton",
|
||||
widgetModule : "dijit.form.CheckBox",
|
||||
widgetAttrs : { value : true }));
|
||||
widgetAttrs : { value : true }}));
|
||||
Spring.addDecoration(new Spring.ElementDecoration({
|
||||
elementId : 'non-smoking',
|
||||
widgetType : "dijit.form.RadioButton",
|
||||
widgetModule : "dijit.form.CheckBox",
|
||||
widgetAttrs : { value : false }));
|
||||
widgetAttrs : { value : false }}));
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user