problem description
this problem occurs in IE. All I have to do is click Save
related codes
function onOk(){
form.validate();
if (form.isValid() == false) return;
var data = form.getData();
var authSetting = mini.encode(data);
var def= defGrid.getData();
var start= startGrid.getData();
var inst= instGrid.getData();
var task= taskGrid.getData();
var rights={def:def,start:start,inst:inst,task:task};
var rightsJson=mini.encode(rights);
var defs=solGrid.getData();
if(defs.length==0){
alert("!");
return ;
}
var defJson=mini.encode( defs);
var params={authSetting:authSetting,rightsJson:rightsJson,defJson:defJson};
var url=__rootPath +"/";
msgId=mini.loading("", "");
$.post(url,params,function(data){
mini.get(msgId).hide();
if(data.success){
CloseWindow("ok");
}
else{
mini.alert(data.message,"");
}
})
}