Ignore:
Timestamp:
Mar 17, 2010, 3:42:48 PM (10 years ago)
Author:
duh
Message:
  • wizard error reporting resulted in overlapping error dialogs, the olders ones keeping reapearing. Now explicitely removing dialogs from the DOM when closing a dialog
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/common/_error.gsp

    r279 r280  
    3636
    3737                // show error dialog
    38                 $("div#wizardError").dialog({
     38                var we = $("div#wizardError");
     39                we.dialog({
    3940                        modal: true,
    4041                        width: 600,
     
    4243                                Ok: function() {
    4344                                        $(this).dialog('close');
     45                                        we.remove();
    4446                                }
    4547                        }
Note: See TracChangeset for help on using the changeset viewer.