Эх сурвалжийг харах

Merge branch 'cherry-pick-59709be3' into 'develop'

Merge branch 'fix/Process.org_isinput_execption' into 'wrdp'

See merge request o2oa/o2oa!1442
蔡祥熠 5 жил өмнө
parent
commit
f70fbee58d

+ 1 - 0
o2web/source/x_component_cms_Xform/Readerfield.js

@@ -437,6 +437,7 @@ MWF.xApplication.cms.Xform.Readerfield = MWF.CMSReaderfield =  new Class({
             } else {
             } else {
                 var node = this.node.getFirst();
                 var node = this.node.getFirst();
                 if (node) {
                 if (node) {
+                    node.empty();
                     comboxValues.each(function (v, i) {
                     comboxValues.each(function (v, i) {
                         this.creteShowNode(v, (i === comboxValues.length - 1)).inject(node);
                         this.creteShowNode(v, (i === comboxValues.length - 1)).inject(node);
                     }.bind(this));
                     }.bind(this));

+ 2 - 0
o2web/source/x_component_process_Xform/Org.js

@@ -775,6 +775,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg =  new Class({
             }else{
             }else{
                 var node = this.node.getFirst();
                 var node = this.node.getFirst();
                 if (node){
                 if (node){
+                    node.empty();
                     comboxValues.each(function(v, i){
                     comboxValues.each(function(v, i){
                         this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
                         this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
                     }.bind(this));
                     }.bind(this));
@@ -900,6 +901,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg =  new Class({
             }else{
             }else{
                 var node = this.node.getFirst();
                 var node = this.node.getFirst();
                 if (node){
                 if (node){
+                    node.empty();
                     comboxValues.each(function(v, i){
                     comboxValues.each(function(v, i){
                         this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
                         this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
                     }.bind(this));
                     }.bind(this));

+ 1 - 0
o2web/source/x_component_process_Xform/Orgfield.js

@@ -450,6 +450,7 @@ MWF.xApplication.process.Xform.Orgfield = MWF.APPOrgfield =  new Class({
             }else{
             }else{
                 var node = this.node.getFirst();
                 var node = this.node.getFirst();
                 if (node){
                 if (node){
+                    node.empty();
                     comboxValues.each(function(v, i){
                     comboxValues.each(function(v, i){
                         this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
                         this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
                     }.bind(this));
                     }.bind(this));

+ 2 - 0
o2web/source/x_component_process_Xform/Personfield.js

@@ -706,6 +706,7 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield =  new Class({
             }else{
             }else{
                 var node = this.node.getFirst();
                 var node = this.node.getFirst();
                 if (node){
                 if (node){
+                    node.empty();
                     comboxValues.each(function(v, i){
                     comboxValues.each(function(v, i){
                         this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
                         this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
                     }.bind(this));
                     }.bind(this));
@@ -834,6 +835,7 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield =  new Class({
             }else{
             }else{
                 var node = this.node.getFirst();
                 var node = this.node.getFirst();
                 if (node){
                 if (node){
+                    node.empty();
                     comboxValues.each(function(v, i){
                     comboxValues.each(function(v, i){
                         this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
                         this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
                     }.bind(this));
                     }.bind(this));