Index: ssts-web/src/main/webapp/js/common.js =================================================================== diff -u -r27252 -r27259 --- ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 27252) +++ ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 27259) @@ -314,13 +314,12 @@ { width = parseInt(width,10); height = parseInt(height,10); - var style="dialogHeight: "+height+"px; dialogWidth: "+width+"px; center: Yes; help: No; resizable: No; status: No;"; + var showModalDialog = window.showModalDialog || ''; if(showModalDialog == ''){ - window.hasOpenWindow = true; - style = style.replace(/(dialog)|(px)/ig,"").replace(/;/g,',').replace(/\:/g,"="); - + var style="height="+height+",width="+width+",status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no"; + if(typeof varArgIn == 'object'){ var html = ''; @@ -337,6 +336,7 @@ return recyclingWindow; } }else { + var style="dialogHeight: "+height+"px; dialogWidth: "+width+"px; center: Yes; help: No; resizable: No; status: No;"; var retval = window.showModalDialog(pageUrl,varArgIn,style); return retval; }