Changeset 1184
- Timestamp:
- 12/19/08 12:34:54 (15 months ago)
- Files:
-
- 1 modified
-
trunk/ui/ui.dialog.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/ui.dialog.js
r1183 r1184 336 336 break; 337 337 case 'right': 338 pLeft += wnd.width() - this.uiDialog. width();338 pLeft += wnd.width() - this.uiDialog.outerWidth(); 339 339 break; 340 340 default: 341 341 case 'center': 342 pLeft += (wnd.width() - this.uiDialog. width()) / 2;342 pLeft += (wnd.width() - this.uiDialog.outerWidth()) / 2; 343 343 } 344 344 } … … 352 352 case 'bottom': 353 353 // Opera check fixes #3564, can go away with jQuery 1.3 354 pTop += ($.browser.opera ? window.innerHeight : wnd.height()) - this.uiDialog. height();354 pTop += ($.browser.opera ? window.innerHeight : wnd.height()) - this.uiDialog.outerHeight(); 355 355 break; 356 356 default: 357 357 case 'middle': 358 358 // Opera check fixes #3564, can go away with jQuery 1.3 359 pTop += (($.browser.opera ? window.innerHeight : wnd.height()) - this.uiDialog. height()) / 2;359 pTop += (($.browser.opera ? window.innerHeight : wnd.height()) - this.uiDialog.outerHeight()) / 2; 360 360 } 361 361 }