}
//
function SubmitForm(form,page,data,func){
- callWiki(page,form.serialize(true).update(data),func);
+ if(func){
+ callWiki(page,form.serialize(true).update(data),func);
+ }else{
+ var f=function(r){
+ showWiki(r.responseXML.documentElement);
+ };
+ callWiki(page,form.serialize(true).update(data),f);
+ }
}
//
Element.prototype.showDialog=function(){
case '3':
$('EditWikiPane').style.display='none';
$('EditOprPane').style.display='block';
+ readWiki('special-Diff',undefined,'EditOprPane');
break;
}
}