Changeset 978
- Timestamp:
- 03/20/08 12:09:09 (5 years ago)
- Files:
-
- 1 modified
-
trunk/modules/Dialogs/dialog.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/Dialogs/dialog.js
r929 r978 28 28 init = window; // pass this window object by default 29 29 } 30 if (typeof window.showModalDialog == 'function' )30 if (typeof window.showModalDialog == 'function' && !Xinha.is_webkit) // webkit easily looses the selection with window.showModalDialog 31 31 { 32 32 Dialog._return = function(retVal) { 33 33 if (typeof action == 'function') action (retVal); 34 34 } 35 var r = window.showModalDialog(url, init, "dialogheight= 10;dialogwidth=10;resizable=yes");35 var r = window.showModalDialog(url, init, "dialogheight=300;dialogwidth=400;resizable=yes"); 36 36 } 37 37 else … … 61 61 // the dialog will read it's args from this variable 62 62 Dialog._arguments = null; 63 64 Dialog._selection = null; 63 65 64 66 Dialog._geckoOpenModal = function(url, action, init) {
