Bug Tracker

Changeset 5471

Show
Ignore:
Timestamp:
05/06/08 15:32:56 (8 months ago)
Author:
rdworth
Message:

UI Dialog - fixed error in IE

Files:
1 modified

Legend:

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

    r5469 r5471  
    178178         
    179179        position: function(pos) { 
    180             var wnd = $(window), doc = $(document), minTop = top = doc.scrollTop(), left = doc.scrollLeft(); 
     180            var wnd = $(window), doc = $(document), top = doc.scrollTop(), left = doc.scrollLeft(), minTop = top; 
    181181            if ($.inArray(pos, ['center','top','right','bottom','left']) >= 0) { 
    182182                pos = [pos == 'right' || pos == 'left' ? pos : 'center', pos == 'top' || pos == 'bottom' ? pos : 'middle'];