Index: trunk/extensions/Configure/Configure.php |
— | — | @@ -147,7 +147,7 @@ |
148 | 148 | /** |
149 | 149 | * Styles versions, you shouldn't change it |
150 | 150 | */ |
151 | | -$wgConfigureStyleVersion = '15'; |
| 151 | +$wgConfigureStyleVersion = '16'; |
152 | 152 | |
153 | 153 | # Adding new rights... |
154 | 154 | $wgAvailableRights[] = 'configure'; |
Index: trunk/extensions/Configure/Configure.js |
— | — | @@ -110,8 +110,8 @@ |
111 | 111 | toggleToc.onmousedown = toggleToc.onclick = configTocToggle; |
112 | 112 | toggleToc.appendChild( getArrowImg( 'l' ) ); |
113 | 113 | |
114 | | - var par = configform.parentNode; |
115 | 114 | var table = document.createElement( 'table' ); |
| 115 | + var tbody = document.createElement( 'tbody' ); |
116 | 116 | var tr = document.createElement( 'tr' ); |
117 | 117 | var tdToc = document.createElement( 'td' ); |
118 | 118 | var tdForm = document.createElement( 'td' ); |
— | — | @@ -122,8 +122,9 @@ |
123 | 123 | tdForm.className = 'config-col-form'; |
124 | 124 | tr.appendChild( tdToc ); |
125 | 125 | tr.appendChild( tdForm ); |
126 | | - table.appendChild( tr ); |
127 | | - par.appendChild( table ); |
| 126 | + tbody.appendChild( tr ); |
| 127 | + table.appendChild( tbody ); |
| 128 | + document.getElementById( 'configure-form' ).appendChild( table ); |
128 | 129 | |
129 | 130 | // Associative tables |
130 | 131 | // ------------------ |