diff --git a/lib/client/dom.js b/lib/client/dom.js index e47d67c0..d81a63c5 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -1579,16 +1579,17 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; width = 1000, height = 650, - lOptions = 'left=' + left + + options = 'left=' + left + ',top=' + top + ',width=' + width + ',height=' + height + ',personalbar=0,toolbar=0' + - ',scrollbars=1,resizable=1'; + ',scrollbars=1,resizable=1', - var lWind = window.open(url, 'Cloud Commander Auth', lOptions); - if (!lWind) - Dialog.alert("Please disable your popup blocker and try again."); + wnd = window.open(url, 'Cloud Commander Auth', options); + + if (!wnd) + Dialog.alert('Please disable your popup blocker and try again.'); }; /**