Content deleted Content added
No edit summary |
m Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 29:
if ( data.edit && data.edit.result == 'Success' ) {
cancel();
window.___location.reload(); // reload page if edit was successful
} else if ( data.error ) {
alert( 'Error: API returned error code' + data.error.code + ' with info ' + data.error.info );
Line 96 ⟶ 92:
if(!h1 || h < sh)
{
document.getElementById("thesectiondata").style.height = 10+"px";
document.getElementById("thesectiondata").style.height = (25+document.getElementById("thesectiondata").scrollHeight)+"px";
}
}
var i = 0;
|