r65398 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65397‎ | r65398 | r65399 >
Date:15:22, 21 April 2010
Author:yaron
Status:deferred
Tags:
Comment:
Added JBE's fix for IE
Modified paths:
  • /trunk/extensions/SemanticForms/libs/SF_ajax_form_preview.js (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/libs/SF_ajax_form_preview.js
@@ -28,6 +28,8 @@
2929 btn.value2 = btn.value;
3030
3131 btn.accessKey = btnOld.accessKey;
 32+ btn.disabled = btnOld.disabled;
 33+ btn.tabIndex = btnOld.tabIndex;
3234
3335 btnOld.parentNode.replaceChild(btn, btnOld);
3436 }
@@ -186,6 +188,7 @@
187189
188190 ifr.style.display="block";
189191 vish = visible.clientHeight;
 192+ if (vish == 0) vish = visible.scrollHeight; //IE
190193
191194 while (visible.tagName.toLowerCase() != "body") {
192195

Status & tagging log