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:
Jeremy Grelle
2008-07-14 18:15:09 +00:00
parent 2298664bb8
commit 1d7e51c4cb
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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);

View File

@@ -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>