; }
savebutton = obj;
if (googie5.noErrorsFound() || passcheck) {
// alert("CheckSpell ok");
return true;
}
//alert(document.getElementById("global_spell_container").innerHTML);
if (document.getElementById("okclickspan"))
invokeClick(document.getElementById("okclickspan"))
setTimeout("WaitSavetate()", 1000);
return false;
}
function ToDoNext() {
if (savebutton.href) {
var href = savebutton.href.replace("javascript:", "");
href = unescape(href);
//alert(href);
eval(href);
}
else
{
__doPostBack(savebutton.id,"");
return true;
}
}
function WaitSavetate() {
if (waiti > 100) {
waiti = 0;
return;
}
waiti++;
//document.getElementById("statespan").innerHTML = "waiting:" + waiti + " " + googie5.noErrorsFound();
if (passcheck || googie5.noErrorsFound()) {
//alert("pass");
//invokeClick(savebutton);
ToDoNext();
// __doPostBack(savebutton.id, '''');
}
|