Index: trunk/extensions/SemanticForms/libs/SF_ajax_form_preview.js |
— | — | @@ -28,6 +28,8 @@ |
29 | 29 | btn.value2 = btn.value; |
30 | 30 | |
31 | 31 | btn.accessKey = btnOld.accessKey; |
| 32 | + btn.disabled = btnOld.disabled; |
| 33 | + btn.tabIndex = btnOld.tabIndex; |
32 | 34 | |
33 | 35 | btnOld.parentNode.replaceChild(btn, btnOld); |
34 | 36 | } |
— | — | @@ -186,6 +188,7 @@ |
187 | 189 | |
188 | 190 | ifr.style.display="block"; |
189 | 191 | vish = visible.clientHeight; |
| 192 | + if (vish == 0) vish = visible.scrollHeight; //IE |
190 | 193 | |
191 | 194 | while (visible.tagName.toLowerCase() != "body") { |
192 | 195 | |