Changeset 343

Show
Ignore:
Timestamp:
06/25/08 18:26:13 (21 months ago)
Author:
scott.gonzalez
Message:

Dialog: Fixed stacking problem with modal dialogs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ui/ui.dialog.js

    r341 r343  
    261261        // position on open 
    262262        moveToTop: function(force) { 
    263                 if ((this.options.modal && !force) || !this.options.stack) { return; } 
     263                if ((this.options.modal && !force) 
     264                        || (!this.options.stack && !this.options.modal)) { return; } 
    264265                 
    265266                var maxZ = this.options.zIndex, options = this.options;