For MediaWiki (recent comments | status changes | tags | authors | states | release notes | statistics)
Index: trunk/extensions/Configure/Configure.php =================================================================== --- trunk/extensions/Configure/Configure.php (revision 44240) +++ trunk/extensions/Configure/Configure.php (revision 44241) @@ -147,7 +147,7 @@ /** * Styles versions, you shouldn't change it */ -$wgConfigureStyleVersion = '15'; +$wgConfigureStyleVersion = '16'; # Adding new rights... $wgAvailableRights[] = 'configure'; Index: trunk/extensions/Configure/Configure.js =================================================================== --- trunk/extensions/Configure/Configure.js (revision 44240) +++ trunk/extensions/Configure/Configure.js (revision 44241) @@ -110,8 +110,8 @@ toggleToc.onmousedown = toggleToc.onclick = configTocToggle; toggleToc.appendChild( getArrowImg( 'l' ) ); - var par = configform.parentNode; var table = document.createElement( 'table' ); + var tbody = document.createElement( 'tbody' ); var tr = document.createElement( 'tr' ); var tdToc = document.createElement( 'td' ); var tdForm = document.createElement( 'td' ); @@ -122,8 +122,9 @@ tdForm.className = 'config-col-form'; tr.appendChild( tdToc ); tr.appendChild( tdForm ); - table.appendChild( tr ); - par.appendChild( table ); + tbody.appendChild( tr ); + table.appendChild( tbody ); + document.getElementById( 'configure-form' ).appendChild( table ); // Associative tables // ------------------