Changeset 812
- Timestamp:
- 04/12/07 15:36:01 (6 years ago)
- Files:
-
- 1 modified
-
trunk/modules/Dialogs/popupwin.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/Dialogs/popupwin.js
r723 r812 119 119 var button = this.doc.createElement("button"); 120 120 div.appendChild(button); 121 button.innerHTML = HTMLArea._lc(btn, 'HTMLArea');121 button.innerHTML = Xinha._lc(btn, 'Xinha'); 122 122 switch (btn.toLowerCase()) 123 123 { 124 124 case "ok": 125 HTMLArea.addDom0Event(button, 'click',125 Xinha.addDom0Event(button, 'click', 126 126 function() 127 127 { … … 133 133 break; 134 134 case "cancel": 135 HTMLArea.addDom0Event(button, 'click',135 Xinha.addDom0Event(button, 'click', 136 136 function() 137 137 { … … 165 165 s.left = parseInt((w - el.offsetWidth) / 2, 10) + "px"; 166 166 s.top = parseInt((h - el.offsetHeight) / 2, 10) + "px"; 167 if ( HTMLArea.is_gecko)167 if (Xinha.is_gecko) 168 168 { 169 169 self.window.innerWidth = w;
