Changeset 5395 for trunk/www/exception/duplicate_wizard.jsp
- Timestamp:
- Aug 27, 2010, 2:55:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/exception/duplicate_wizard.jsp
r4510 r5395 48 48 %> 49 49 <base:page type="default" menu="exception" title="Another plug-in wizard is active"> 50 <base:head >50 <base:head scripts="exception.js"> 51 51 <script language="JavaScript"> 52 function fixWindow()53 {54 if (window.opener != null)55 {56 // popup window --> Hide menubar57 Main.hide('menubar');58 var width = Main.getWindowWidth();59 var height = Main.getWindowHeight();60 if (height < 400) height = 400;61 if (width < 600) width = 600; // >62 window.resizeTo(width, height);63 }64 else65 {66 // Hide close button67 Main.hide('close');68 // If inside a second frameset, hide menubar69 if (window.parent != window.top)70 {71 Main.hide('menubar');72 }73 }74 }75 52 function goNext() 76 53 { … … 82 59 </script> 83 60 </base:head> 84 <base:body onload=" fixWindow()">61 <base:body onload="Exception.fixWindow(false)"> 85 62 86 63 <div align="center"> … … 93 70 <tr> 94 71 <td id="next" width="50%"><base:button onclick="goNext();" title="Continue" image="gonext.gif" /></td> 95 <td id="close" width="50%"><base:button onclick="window. close();" title="Cancel" /></td>72 <td id="close" width="50%"><base:button onclick="window.top.close();" title="Cancel" /></td> 96 73 </tr> 97 74 </table>
Note: See TracChangeset
for help on using the changeset viewer.