提交 22ac3662 编写于 作者: NoSubject's avatar NoSubject

表单支持异步返回值脚本

上级 e22a49c9
......@@ -769,7 +769,8 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
},
checkChange: function(oldValues, values){
var change = false;
if (oldValues.length && values.length){
if (!values) values = [];
if (oldValues.length && (values && values.length)){
if (oldValues.length === values.length){
for (var i=0; i<oldValues.length; i++){
if ((oldValues[i].distinguishedName!==values[i].distinguishedName) || (oldValues[i].name!==values[i].name) || (oldValues[i].unique!==values[i].unique)){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册