소스 검색

notLoadUserOpinion

unknown 5 년 전
부모
커밋
bb99e0922c
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      o2web/source/x_component_process_Xform/Opinion.js

+ 5 - 4
o2web/source/x_component_process_Xform/Opinion.js

@@ -179,10 +179,11 @@ MWF.xApplication.process.Xform.Opinion = MWF.APPOpinion =  new Class({
             }
             }
         }.bind(this));
         }.bind(this));
 
 
-
-        MWF.UD.getDataJson("userOpinion", function(json){
-            this.userOpinions = json;
-        }.bind(this), false);
+        if( !this.json.notLoadUserOpinion ){
+            MWF.UD.getDataJson("userOpinion", function(json){
+                this.userOpinions = json;
+            }.bind(this), false);
+        }
         this.node.getFirst().addEvent("input", function(e){
         this.node.getFirst().addEvent("input", function(e){
             this.startSearchOpinion();
             this.startSearchOpinion();
         }.bind(this));
         }.bind(this));