huqi 5 лет назад
Родитель
Сommit
be6e56f558
51 измененных файлов с 121 добавлено и 133 удалено
  1. 0 1
      o2web/source/o2_core/o2.js
  2. 0 1
      o2web/source/o2_core/o2/actionWorker.js
  3. 1 2
      o2web/source/o2_core/o2/ie_adapter.js
  4. 2 2
      o2web/source/o2_core/o2/widget/Calendar.js
  5. 3 3
      o2web/source/o2_core/o2/widget/Combox.js
  6. 1 1
      o2web/source/o2_core/o2/widget/Dialog.js
  7. 3 3
      o2web/source/o2_core/o2/widget/JavascriptEditor.js
  8. 1 1
      o2web/source/o2_core/o2/widget/Maplist.js
  9. 1 1
      o2web/source/o2_core/o2/widget/O2Identity.js
  10. 1 1
      o2web/source/o2_core/o2/widget/ScriptArea.js
  11. 2 2
      o2web/source/o2_core/o2/widget/Tablet.js
  12. 2 2
      o2web/source/o2_core/o2/widget/Toolbar.js
  13. 1 1
      o2web/source/o2_core/o2/xAction/RestActions.js
  14. 1 1
      o2web/source/o2_core/o2/xAction/services/x_faceset_control.js
  15. 4 4
      o2web/source/o2_core/o2/xDesktop/Actions/RestActions.js
  16. 1 1
      o2web/source/o2_core/o2/xDesktop/Authentication.js
  17. 2 2
      o2web/source/o2_core/o2/xDesktop/Common.js
  18. 4 4
      o2web/source/o2_core/o2/xDesktop/Default.js
  19. 4 4
      o2web/source/o2_core/o2/xDesktop/Dialog.js
  20. 3 3
      o2web/source/o2_core/o2/xDesktop/Layout.js
  21. 10 10
      o2web/source/o2_core/o2/xDesktop/WebSocket.js
  22. 2 2
      o2web/source/o2_core/o2/xScript/CMSEnvironment.js
  23. 5 5
      o2web/source/o2_core/o2/xScript/Environment.js
  24. 3 3
      o2web/source/o2_core/o2/xScript/PageEnvironment.js
  25. 3 3
      o2web/source/o2_core/o2/xScript/ViewEnvironment.js
  26. 0 3
      o2web/source/x_component_process_Xform/$Input.js
  27. 0 1
      o2web/source/x_component_process_Xform/$Module.js
  28. 0 5
      o2web/source/x_component_process_Xform/Attachment.js
  29. 1 1
      o2web/source/x_component_process_Xform/Calendar.js
  30. 1 1
      o2web/source/x_component_process_Xform/DatagridMobile.js
  31. 2 2
      o2web/source/x_component_process_Xform/DatagridPC.js
  32. 13 13
      o2web/source/x_component_process_Xform/Documenteditor.js
  33. 10 10
      o2web/source/x_component_process_Xform/Form.js
  34. 2 2
      o2web/source/x_component_process_Xform/Log.js
  35. 1 1
      o2web/source/x_component_process_Xform/Number.js
  36. 7 7
      o2web/source/x_component_process_Xform/Org.js
  37. 1 1
      o2web/source/x_component_process_Xform/Orgfield.js
  38. 2 2
      o2web/source/x_component_process_Xform/Personfield.js
  39. 1 1
      o2web/source/x_component_process_Xform/Select.js
  40. 1 1
      o2web/source/x_component_process_Xform/Statement.js
  41. 1 1
      o2web/source/x_component_process_Xform/StatementSelector.js
  42. 1 1
      o2web/source/x_component_process_Xform/Subform.js
  43. 1 1
      o2web/source/x_component_process_Xform/View.js
  44. 1 1
      o2web/source/x_component_process_Xform/Widget.js
  45. 3 3
      o2web/source/x_component_process_Xform/widget/DocumentHistory.js
  46. 3 3
      o2web/source/x_component_process_Xform/widget/Monitor.js
  47. 1 1
      o2web/source/x_desktop/js/base.js
  48. 3 3
      o2web/source/x_desktop/js/base_simple.js
  49. 2 2
      o2web/source/x_desktop/js/base_simple_anonymous.js
  50. 2 2
      o2web/source/x_desktop/js/qywxStartProcess.js
  51. 1 1
      o2web/source/x_desktop/smapsso.html

+ 0 - 1
o2web/source/o2_core/o2.js

@@ -1406,7 +1406,6 @@ if (!window.Promise){
         var useWebWorker = (window.layout && layout.config && layout.config.useWebWorker);
         //var noCache = false;
         if (!loadAsync || !useWebWorker){
-            debugger;
             var res;
             var p = new Promise(function(s,f){
                 res = new Request.JSON({

+ 0 - 1
o2web/source/o2_core/o2/actionWorker.js

@@ -70,7 +70,6 @@ function V(httpRequest) {
 })();
 
 onmessage = function(e) {
-    debugger;
     this.action.sendRequest(e.data);
     //
     //

+ 1 - 2
o2web/source/o2_core/o2/ie_adapter.js

@@ -1,5 +1,4 @@
 (function(){
-    debugger;
     if (Browser.iecomp){
         // if (!document.body.addEvent){
         //     document.body.addEvent = function(type, fn){
@@ -141,4 +140,4 @@
 //
 // if (Browser.iecomp){
 //
-// }
+// }

+ 2 - 2
o2web/source/o2_core/o2/widget/Calendar.js

@@ -431,7 +431,7 @@ o2.widget.Calendar = o2.Calendar = new Class({
 		}
 	},
 	show: function(){
-		debugger;
+		;
 		if (!this.visible){
 			var dStr = this.node.get("value");
 			if (dStr && Date.isValid(dStr)){
@@ -884,7 +884,7 @@ o2.widget.Calendar = o2.Calendar = new Class({
 		}
 	},
 	_setTimeDate: function(node, h, m, s){
-		debugger;
+		;
 		if( !this.options.secondEnable ){
 			var div = this.contentTimeTable.getElement(".MWF_calendar_time_s");
 			if( div )div.hide();

+ 3 - 3
o2web/source/o2_core/o2/widget/Combox.js

@@ -218,7 +218,7 @@ o2.widget.Combox = new Class({
         }
     },
     createItem: function(values, i, data, callback){
-	    debugger;
+	    ;
         if (values[i]){
             var value = values[i];
 
@@ -741,7 +741,7 @@ o2.widget.Combox.Input = new Class({
                 "offset": {"y": 3}
             });
         }
-        debugger;
+
         var p = this.optionListNode.getPosition(pNode);
         if (p.y<10){
             var top = this.optionListNode.getStyle("top").toInt();
@@ -772,4 +772,4 @@ o2.widget.Combox.Input = new Class({
             });
         }
     }
-});
+});

+ 1 - 1
o2web/source/o2_core/o2/widget/Dialog.js

@@ -36,7 +36,7 @@ o2.widget.Dialog = o2.DL = new Class({
         "container": null
 	},
 	initialize: function(options){
-		debugger;
+
 		this.setOptions(options);
 
 		this.path = o2.session.path+"/widget/$Dialog/";

+ 3 - 3
o2web/source/o2_core/o2/widget/JavascriptEditor.js

@@ -238,7 +238,7 @@ o2.widget.JavascriptEditor = new Class({
         }.bind(this));
     },
     registerCompletion: function(){
-        debugger;
+
         if (this.editor){
             switch (this.options.type.toLowerCase()) {
                 case "ace": this.registerCompletionAce(); break;
@@ -323,7 +323,7 @@ o2.widget.JavascriptEditor = new Class({
         }
     },
     changeEditor: function(type){
-	    debugger;
+
         if (this.editor){
             var value = this.getValue();
             this.destroyEditor();
@@ -569,7 +569,7 @@ o2.widget.JavascriptEditor = new Class({
 
 o2.widget.JavascriptEditor.runtimeEnvironment = {};
 o2.widget.JavascriptEditor.getCompletionEnvironment = function(runtime, callback) {
-    debugger;
+
     if (!o2.widget.JavascriptEditor.runtimeEnvironment[runtime]) {
         o2.require("o2.xScript.Macro", function() {
             switch (runtime) {

+ 1 - 1
o2web/source/o2_core/o2/widget/Maplist.js

@@ -80,7 +80,7 @@ o2.widget.Maplist = new Class({
         }.bind(this));
 	},
 	showCode: function(){
-		debugger;
+
 		// var display = this.contentNode.getStyle("display");
 		// if (display=="none") this.expand();
 			

+ 1 - 1
o2web/source/o2_core/o2/widget/O2Identity.js

@@ -12,7 +12,7 @@ o2.widget.O2Identity = new Class({
         "disableInfor" : false
 	},
 	initialize: function(data, container, options){
-	    debugger;
+
 		this.setOptions(options);
 		this.loadedInfor = false;
 

+ 1 - 1
o2web/source/o2_core/o2/widget/ScriptArea.js

@@ -69,7 +69,7 @@ o2.widget.ScriptArea = new Class({
         }
     },
     maxSize: function(){
-        debugger;
+
         var obj = this.options.maxObj;
         var coordinates = obj.getCoordinates(obj.getOffsetParent());
 

+ 2 - 2
o2web/source/o2_core/o2/widget/Tablet.js

@@ -1173,7 +1173,7 @@ o2.widget.Tablet.ImageMover = new Class({
         var	y=offset.y;
         if( y == 0 )return;
 
-        debugger;
+
 
         var coordinates = this.dragNode.getCoordinates( this.node );
         var containerSize = this.node.getSize();
@@ -1281,4 +1281,4 @@ o2.widget.Tablet.ImageMover = new Class({
 
         delete this;
     }
-});
+});

+ 2 - 2
o2web/source/o2_core/o2/widget/Toolbar.js

@@ -272,7 +272,7 @@ o2.widget.ToolbarButton = new Class({
 		if (this.modifiyStyle) if (!this.options.disable){this.node.set("styles", this.toolbar.css.buttonUp);};
 	},
 	_buttonClick: function(e){
-		debugger;
+
 		if (!this.options.disable){
 			if (this.options.action){
 				if (typeOf(this.options.action)==="string"){
@@ -519,4 +519,4 @@ o2.widget.ToolbarMenu = new Class({
 		this.menu.addMenuLine();
 	}
 
-});
+});

+ 1 - 1
o2web/source/o2_core/o2/xAction/RestActions.js

@@ -95,7 +95,7 @@ MWF.xAction.RestActions = MWF.Actions = {
 
     //actions: [{"action": "", "name": "list", "par": [], "body": "",  "urlEncode": false, "cache": false}]
     invokeAsync2: function(actions, callback){
-        debugger;
+
         var cbs = (o2.typeOf(callback)==="function") ? callback : callback.success;
         var cbf = (o2.typeOf(callback)==="function") ? null : callback.failure;
         var res = [];

+ 1 - 1
o2web/source/o2_core/o2/xAction/services/x_faceset_control.js

@@ -13,7 +13,7 @@ MWF.xAction.RestActions.Action["x_faceset_control"] = new Class({
         }.bind(this));
     },
     invoke: function(service, options){
-        debugger;
+
         if (this.faceKeys){
             if(service.enctype && (service.enctype.toLowerCase()==="formdata")){
                 options.data.append("api_key", this.faceKeys.api_key);

+ 4 - 4
o2web/source/o2_core/o2/xDesktop/Actions/RestActions.js

@@ -279,7 +279,7 @@ MWF.xDesktop.Actions.RestActions = new Class({
             messageItem.status = "completed";
         }
         //@upload message
-        debugger;
+
         if (messageItem && messageItem.moduleMessage){
             if (messageItem.moduleMessage.transferComplete) messageItem.moduleMessage.transferComplete();
         }
@@ -317,7 +317,7 @@ MWF.xDesktop.Actions.RestActions = new Class({
             }
         }
         //@upload message
-        debugger;
+
         if (messageItem && messageItem.moduleMessage){
             if (messageItem.moduleMessage.updateProgress) messageItem.moduleMessage.updateProgress(percent);
         }
@@ -460,7 +460,7 @@ MWF.xDesktop.Actions.RestActions = new Class({
         return xhr;
 	},
 	addFormDataMessage: function(file, noProgress, xhr, showMsg){
-        debugger;
+
         if (layout.desktop.message){
             var contentHTML = "";
             if (noProgress){
@@ -497,7 +497,7 @@ MWF.xDesktop.Actions.RestActions = new Class({
                 }
             };
         }
-debugger;
+
         //@upload message
         if (this.targetModule){
             var moduleMessage = this.targetModule.module.addFormDataMessage(this.targetModule.file);

+ 1 - 1
o2web/source/o2_core/o2/xDesktop/Authentication.js

@@ -396,7 +396,7 @@ MWF.xDesktop.Authentication.LoginForm = new Class({
         return max - min;
     },
     checkCameraLogin: function () {
-        debugger;
+
         if (this.cameraLoginConfig.errorCount > this.cameraLoginConfig.errorMax) {
             this.cameraLoginVideoInfoNode.set("text", MWF.LP.desktop.login.camera_loginError);
         } else {

+ 2 - 2
o2web/source/o2_core/o2/xDesktop/Common.js

@@ -492,14 +492,14 @@ MWF.xDesktop.getServiceAddressConfigArray = function(config, callback, error) {
     config.center.each(function(center){
         requests.push(
             MWF.xDesktop.getServiceAddressConfigObject(center, function(serviceAddressList, center){
-                debugger;
+
                 requests.each(function(res){
                     if (res && res.res) if (res.res.isRunning()){res.res.cancel();}
                     if (res && res.actionWorker) res.actionWorker.terminate();
                 });
                 if (callback) callback(serviceAddressList, center);
             }.bind(this), function(){
-                debugger;
+
                 if (requests.length){
                     for (var i=0; i<requests.length; i++){
                         if (requests[i].res) if (requests[i].res.isRunning()) return "";

+ 4 - 4
o2web/source/o2_core/o2/xDesktop/Default.js

@@ -265,7 +265,7 @@ o2.xDesktop.Default = new Class({
     },
 
     loadStatus: function(){
-        debugger;
+
         if (this.status){
             var keys = Object.keys(this.status.apps);
             if (this.status.apps && keys.length){
@@ -511,7 +511,7 @@ o2.xDesktop.Default = new Class({
                 var appStatus = this.getAppStatusData(app, id);
                 if (appStatus) status.apps[id] = appStatus;
             }
-            debugger;
+
             if (app.isIndex){
                 if (!status.apps[id]) status.apps[id] = {};
                 status.apps[id].isIndex = true;
@@ -1181,8 +1181,8 @@ o2.xDesktop.Default.StartMenu = new Class({
     },
 
     checkMenuItem: function(value, currentNames){
-        debugger;
-        debugger;
+
+
         if (value.visible===false) return false;
         var isAllow = true;
         if (value.allowList) isAllow = (value.allowList.length) ? (value.allowList.isIntersect(currentNames)) : true;

+ 4 - 4
o2web/source/o2_core/o2/xDesktop/Dialog.js

@@ -142,7 +142,7 @@ o2.xDesktop.Dialog = o2.DDL = new Class({
                         button = new Element( bt.tag, {}).inject(this.button);
                     }
                 }
-                debugger;
+
                 if( button.get("type") === "button" ){
                     button.set({
                         "value": bt.text,
@@ -780,7 +780,7 @@ o2.xDesktop.Dialog = o2.DDL = new Class({
 
     },
     setContentSize: function(height, width){
-        debugger;
+
         //this.content.setStyle("height", this.getContentSize(height));
         // if (!this.options.height && !height){
         //    this.content.setStyle("height", "auto");
@@ -822,7 +822,7 @@ o2.xDesktop.Dialog = o2.DDL = new Class({
     }
 });
 o2.DL.open = function(options){
-    debugger;
+
     if (!options) options = {};
     if (!options.style) options.style = "user";
     //if (!options.transition) options.transition = Fx.Transitions.Back.easeOut;
@@ -907,4 +907,4 @@ o2.DL.open = function(options){
     }
     dlg.show();
     return dlg;
-};
+};

+ 3 - 3
o2web/source/o2_core/o2/xDesktop/Layout.js

@@ -158,7 +158,7 @@ MWF.xDesktop.Layout = new Class({
         }
     },
     initNode: function(node){
-        debugger;
+
 
         this.loadCss();
 
@@ -633,7 +633,7 @@ MWF.xDesktop.Layout = new Class({
                 if (!this.notRecordStatus) this.recordDesktopStatus();
                 if (this.socket && this.socket.webSocket) {
                     //console.log("websocket is onbeforeunload close ...");
-                    debugger;
+
                     this.socket.reConnect = false;
                     this.socket.webSocket.close();
                     //return false;
@@ -668,7 +668,7 @@ MWF.xDesktop.Layout = new Class({
             "widgets": {}
         };
         Object.each(this.apps, function(app, id){
-            debugger;
+
             if (app.window){
                 if (app.options.desktopReload){
                     var appStatus ={

+ 10 - 10
o2web/source/o2_core/o2/xDesktop/WebSocket.js

@@ -236,7 +236,7 @@ MWF.xDesktop.WebSocket = new Class({
         }
     },
     receiveCMSPublishMessage: function(data){
-        debugger;
+
         var content = "<font style='color: #ea621f'>"+(data.body.creatorPerson||"").split("@")[0]+"</font>"+MWF.LP.desktop.messsage.publishDocument+data.body.title;
 
         var msg = {
@@ -286,7 +286,7 @@ MWF.xDesktop.WebSocket = new Class({
         }.bind(this));
     },
     receiveTaskMessage: function(data){
-        debugger;
+
         var task = data.body;
         //var content = MWF.LP.desktop.messsage.receiveTask+"《"+task.title+"》, "+MWF.LP.desktop.messsage.activity+": <font style='color: #ea621f'>"+(task.activityName || "")+"</font>";
         var content = data.title;
@@ -406,7 +406,7 @@ MWF.xDesktop.WebSocket = new Class({
     },
 
     receiveFileEditorMessage: function(data){
-        debugger;
+
         var content = "<font style='color: #ea621f; font-weight: bold'>"+MWF.name.cn(data.body.person)+"</font> "+MWF.LP.desktop.messsage.receiveFileEditor+"“"+data.body.name+"”. ";
         var msg = {
             "subject": MWF.LP.desktop.messsage.fileEditorMessage,
@@ -437,7 +437,7 @@ MWF.xDesktop.WebSocket = new Class({
     },
 
     receiveFileShareMessage: function(data){
-        debugger;
+
         var content = "<font style='color: #ea621f; font-weight: bold'>"+MWF.name.cn(data.body.person)+"</font> "+MWF.LP.desktop.messsage.receiveFileShare+"“"+data.body.name+"”. ";
         var msg = {
             "subject": MWF.LP.desktop.messsage.fileShareMessage,
@@ -492,7 +492,7 @@ MWF.xDesktop.WebSocket = new Class({
         }
     },
     receiveMeetingInviteMessage: function(data){
-        debugger;
+
         this.getMeeting(data, function(meeting){
             var content = MWF.LP.desktop.messsage.meetingInvite;
             content = content.replace(/{person}/g, MWF.name.cn(meeting.applicant));
@@ -520,7 +520,7 @@ MWF.xDesktop.WebSocket = new Class({
         }.bind(this));
     },
     receiveMeetingCancelMessage: function(data){
-        debugger;
+
         this.getMeeting(data, function(meeting){
             var content = MWF.LP.desktop.messsage.meetingCancel;
             content = content.replace(/{person}/g, MWF.name.cn(meeting.applicant));
@@ -548,7 +548,7 @@ MWF.xDesktop.WebSocket = new Class({
         }.bind(this));
     },
     receiveMeetingAcceptMessage: function(data){
-        debugger;
+
         this.getMeeting(data, function(meeting){
             var content = MWF.LP.desktop.messsage.meetingAccept;
             //content = content.replace(/{person}/g, MWF.name.cn(meeting.applicant));
@@ -577,7 +577,7 @@ MWF.xDesktop.WebSocket = new Class({
         }.bind(this));
     },
     receiveMeetingRejectMessage: function(data){
-        debugger;
+
         this.getMeeting(data, function(meeting){
             var content = MWF.LP.desktop.messsage.meetingReject;
             //content = content.replace(/{person}/g, MWF.name.cn(meeting.applicant));
@@ -669,7 +669,7 @@ MWF.xDesktop.WebSocket = new Class({
         });
     },
     receiveCalendarAlarmMessage: function(data){
-        debugger;
+
         var content = MWF.LP.desktop.messsage.canlendarAlarm;
         content = content.replace(/{title}/g, data.title);
 
@@ -715,7 +715,7 @@ MWF.xDesktop.WebSocket = new Class({
         });
     },
     receiveTeamWorkMessage: function(data){
-        debugger;
+
         var task = data.body;
         //var content = MWF.LP.desktop.messsage.receiveTask+"《"+task.title+"》, "+MWF.LP.desktop.messsage.activity+": <font style='color: #ea621f'>"+(task.activityName || "")+"</font>";
         var content = data.title;

+ 2 - 2
o2web/source/o2_core/o2/xScript/CMSEnvironment.js

@@ -580,7 +580,7 @@ MWF.xScript.CMSEnvironment = function(ev){
         },
         //查询组织的下级--返回组织的对象数组
         //nested  布尔  true嵌套下级;false直接下级;默认false;
-        listSubUnit: function(name, nested){
+        listSubUnit: function(name, nested, async){
             getOrgActions();
             var data = {"unitList": getNameFlag(name)};
             var v = null;
@@ -795,7 +795,7 @@ MWF.xScript.CMSEnvironment = function(ev){
             var data = {"identityList":getNameFlag(name)};
             var v = null;
             var cb = function(json){
-                v = json.data;
+                v = json.data.nameList;
                 if (async && o2.typeOf(async)=="function") return async(v);
                 return v;
             };

+ 5 - 5
o2web/source/o2_core/o2/xScript/Environment.js

@@ -747,7 +747,7 @@ MWF.xScript.Environment = function(ev){
         },
         //查询组织的下级--返回组织的对象数组
         //nested  布尔  true嵌套下级;false直接下级;默认false;
-        listSubUnit: function(name, nested){
+        listSubUnit: function(name, nested, async){
             getOrgActions();
             var data = {"unitList": getNameFlag(name)};
             var v = null;
@@ -962,7 +962,7 @@ MWF.xScript.Environment = function(ev){
             var data = {"identityList":getNameFlag(name)};
             var v = null;
             var cb = function(json){
-                v = json.data;
+                v = json.data.nameList;
                 if (async && o2.typeOf(async)=="function") return async(v);
                 return v;
             };
@@ -1457,7 +1457,7 @@ MWF.xScript.Environment = function(ev){
                 }
                 break;
         }
-debugger;
+
         scriptAction.getScriptByName( application, name, includedScripts, function(json){
             if (json.data){
                 includedScripts.push( key );
@@ -1982,7 +1982,7 @@ MWF.xScript.JSONData = function(data, callback, key, parent, _form){
     };
     var setter = function(data, callback, k, _self){
         return function(v){
-            debugger;
+
             data[k] = v;
             //debugger;
             //this.add(k, v, true);
@@ -2010,7 +2010,7 @@ MWF.xScript.JSONData = function(data, callback, key, parent, _form){
                         }
                         if (path.length) _form.sectionListObj[path.join(".")] = newKey;
                     }catch(e){
-                        debugger;
+
                     }
                 }},
             "add": {"value": function(newKey, newValue, overwrite){

+ 3 - 3
o2web/source/o2_core/o2/xScript/PageEnvironment.js

@@ -632,7 +632,7 @@ MWF.xScript.PageEnvironment = function (ev) {
         },
         //查询组织的下级--返回组织的对象数组
         //nested  布尔  true嵌套下级;false直接下级;默认false;
-        listSubUnit: function(name, nested){
+        listSubUnit: function(name, nested, async){
             getOrgActions();
             var data = {"unitList": getNameFlag(name)};
             var v = null;
@@ -847,7 +847,7 @@ MWF.xScript.PageEnvironment = function (ev) {
             var data = {"identityList":getNameFlag(name)};
             var v = null;
             var cb = function(json){
-                v = json.data;
+                v = json.data.nameList;
                 if (async && o2.typeOf(async)=="function") return async(v);
                 return v;
             };
@@ -1856,7 +1856,7 @@ MWF.xScript.JSONData = function(data, callback, key, parent, _form){
                         }
                         if (path.length) _form.sectionListObj[path.join(".")] = newKey;
                     }catch(e){
-                        debugger;
+
                     }
                 }},
             "add": {"value": function(newKey, newValue, overwrite){

+ 3 - 3
o2web/source/o2_core/o2/xScript/ViewEnvironment.js

@@ -556,7 +556,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         },
         //查询组织的下级--返回组织的对象数组
         //nested  布尔  true嵌套下级;false直接下级;默认false;
-        listSubUnit: function(name, nested){
+        listSubUnit: function(name, nested, async){
             getOrgActions();
             var data = {"unitList": getNameFlag(name)};
             var v = null;
@@ -771,7 +771,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
             var data = {"identityList":getNameFlag(name)};
             var v = null;
             var cb = function(json){
-                v = json.data;
+                v = json.data.nameList;
                 if (async && o2.typeOf(async)=="function") return async(v);
                 return v;
             };
@@ -1588,7 +1588,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
             })
         },
         "startProcess": function (app, process, data, identity, callback, target, latest) {
-            debugger;
+
             if (arguments.length > 2) {
                 for (var i = 2; i < arguments.length; i++) {
                     if (typeOf(arguments[i]) == "boolean") {

+ 0 - 3
o2web/source/x_component_process_Xform/$Input.js

@@ -184,14 +184,12 @@ MWF.xApplication.process.Xform.$Input = MWF.APP$Input =  new Class({
         return (this.json.defaultValue && this.json.defaultValue.code) ? this.form.Macro.exec(this.json.defaultValue.code, this): (value || "");
     },
 	getValue: function(){
-        debugger;
         if (this.moduleValueAG) return this.moduleValueAG;
         var value = this._getBusinessData();
         if (!value) value = this._computeValue();
 		return value || "";
 	},
     _setValue: function(value){
-	    debugger;
 	    // if (value && value.isAG){
 	    //     var ag = o2.AG.all(value).then(function(v){
 	    //         if (o2.typeOf(v)=="array") v = v[0];
@@ -393,7 +391,6 @@ MWF.xApplication.process.Xform.$Input = MWF.APP$Input =  new Class({
     },
     notValidationMode: function(text){
         if (!this.isNotValidationMode){
-            debugger;
             this.isNotValidationMode = true;
             this.node.store("borderStyle", this.node.getStyles("border-left", "border-right", "border-top", "border-bottom"));
             this.node.setStyle("border-color", "red");

+ 0 - 1
o2web/source/x_component_process_Xform/$Module.js

@@ -214,7 +214,6 @@ MWF.xApplication.process.Xform.$Module = MWF.APP$Module =  new Class({
         }
     },
     _setBusinessSectionData: function(v){
-        debugger;
         switch (this.json.sectionBy){
             case "person":
                 this._setBusinessSectionDataByPerson(v);

+ 0 - 5
o2web/source/x_component_process_Xform/Attachment.js

@@ -558,7 +558,6 @@ MWF.xApplication.process.Xform.AttachmentController = new Class({
         if (this.closeOfficeAction) this.setActionDisabled(this.closeOfficeAction);
     },
     loadMinActions: function () {
-        debugger;
         var hiddenGroup = this.options.toolbarGroupHidden;
         if (!hiddenGroup.contains("edit")) {
             this.min_uploadAction = this.createAction(this.minActionAreaNode, "upload", MWF.LP.widget.upload, function (e, node) {
@@ -701,7 +700,6 @@ MWF.xApplication.process.Xform.AttachmentController = new Class({
         }
     },
     setAttachmentConfig: function (readInput, editInput, controllerInput) {
-        debugger;
         if (this.selectedAttachments.length) {
             var readList = readInput.retrieve("data-value");
             var editList = editInput.retrieve("data-value");
@@ -754,7 +752,6 @@ MWF.xApplication.process.Xform.AttachmentController = new Class({
                 o2.Actions.get("x_processplatform_assemble_surface").configAttachment(att.data.id, this.module.form.businessData.work.id, att.data, function () {
                     //刷新附件权限,以后要加一个刷新附件的功能
                     o2.Actions.load("x_processplatform_assemble_surface").AttachmentAction.getWithWorkOrWorkCompleted(att.data.id, this.module.form.businessData.work.id, function (json) {
-                        debugger;
                         var attachment = this.getAttachmentById( att.data.id );
                         if( attachment ){
                             attachment.data = json.data;
@@ -1050,7 +1047,6 @@ MWF.xApplication.process.Xform.Attachment = MWF.APPAttachment = new Class({
         this.json = json;
         this.form = form;
         this.field = true;
-        debugger;
     },
 
     _loadUserInterface: function () {
@@ -1119,7 +1115,6 @@ MWF.xApplication.process.Xform.Attachment = MWF.APPAttachment = new Class({
     },
 
     _loadEvents: function (editorConfig) {
-        debugger;
         Object.each(this.json.events, function (e, key) {
             if (e.code) {
                 if (this.options.moduleEvents.indexOf(key) !== -1) {

+ 1 - 1
o2web/source/x_component_process_Xform/Calendar.js

@@ -70,7 +70,7 @@ MWF.xApplication.process.Xform.Calendar = MWF.APPCalendar =  new Class({
     },
 
 	clickSelect: function(){
-	    debugger;
+
         var _self = this;
         if (!this.calendar){
             MWF.require("MWF.widget.Calendar", function(){

+ 1 - 1
o2web/source/x_component_process_Xform/DatagridMobile.js

@@ -1017,7 +1017,7 @@ MWF.xApplication.process.Xform.DatagridMobile = new Class({
                 var data = currentTable.retrieve("data");
 
                 //var attKeys = [];
-                debugger;
+
                 var titleThs = _self.table.getElements("th");
                 titleThs.each(function(th, i){
                     var key = th.get("id");

+ 2 - 2
o2web/source/x_component_process_Xform/DatagridPC.js

@@ -164,7 +164,7 @@ MWF.xApplication.process.Xform.DatagridPC = new Class({
 
 
 	_getValueText: function(idx, value){
-		debugger;
+
 		var module = this.editModules[idx];
 		if (module){
 			switch (module.json.type){
@@ -348,7 +348,7 @@ MWF.xApplication.process.Xform.DatagridPC = new Class({
 					if (module.json.type=="sequence"){
 						module.node.set("text", module.node.getParent("tr").rowIndex);
 					}else {
-						debugger;
+
 						if (data[id]) {
 							module.setData(data[id][module.json.id]);
 						} else {

+ 13 - 13
o2web/source/x_component_process_Xform/Documenteditor.js

@@ -564,7 +564,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
         this.layout_meetingRecordContent = this.contentNode.getElement(".doc_layout_meeting_record_content");
     },
     _loadCustom: function(){
-        debugger;
+
         var nodes = this.contentNode.getElements(".doc_layout");
         nodes.each(function(node){
             var name = node.get("data-doc-layout");
@@ -606,7 +606,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
         //自定义
         this._loadCustom();
 
-        debugger;
+
 
         this.reSetShow(control);
         this.reSetEdit();
@@ -665,7 +665,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
         if (this.layout_fileNoUpTable) this.layout_fileNoUpTable[m("signer")]();
         if (this.layout_filenoArea) this.layout_filenoArea[(!control.signer) ? "show" : "hide"]();
 
-        debugger;
+
         if (this.layout_signerTitle) this.layout_signerTitle[m("signer")]();
         if (this.layout_signer) this.layout_signer[m("signer")]();
 
@@ -677,7 +677,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
         if (this.layout_issuanceUnit) this.layout_issuanceUnit[m("issuanceUnit")]();
         if (this.layout_issuanceDate) this.layout_issuanceDate[m("issuanceDate")]();
 
-        debugger;
+
         if (this.layout_issuanceUnit && this.layout_issuanceDate){
             var table = this.layout_issuanceUnit.getParent("table")
             if (table && !table.hasClass("doc_layout_headIssuance")) {
@@ -988,7 +988,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
     },
 
     checkSaveNewEdition: function(callback){
-        debugger;
+
         if (!this.allowEdit || !this.data.filetext || this.data.filetext == this.json.defaultValue.filetext) return false;
         if (this.form.businessData.work){
             var originaData = this.form.businessData.originalData[this.json.id];
@@ -1667,7 +1667,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
         }.bind(this));
 
         this.zoomAddAction.addEvent("click", function(){
-            debugger;
+
             var i = (this.scale/0.05).toInt();
             if (i*0.05<this.scale) i++;
             var v = i*0.05;
@@ -1944,7 +1944,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor =  new Cla
         // ];
 
         //CKEDITOR.plugins.addExternal('ckeditor_wiris', 'https://ckeditor.com/docs/ckeditor4/4.13.0/examples/assets/plugins/ckeditor_wiris/', 'plugin.js');
-debugger;
+
         var editorConfig = {
             qtRows: 20, // Count of rows
             qtColumns: 20, // Count of columns
@@ -2306,7 +2306,7 @@ debugger;
                         case "issuanceDate":
                         case "editionDate":
                             var d = new Date(v);
-                            debugger;
+
                             if (d.isValid() && d.getFullYear()!=1970){
                                 var y = d.getFullYear();
                                 var m = d.getMonth();
@@ -2426,7 +2426,7 @@ debugger;
                 this._computeItemFieldData(name, null, dataItem);
                 //if (this.data[name]){
                 if (this[dom]){
-                    debugger;
+
                     if (dom=="layout_redHeader" || dom=="layout_subject" || dom=="layout_issuanceUnit"){
                         this[dom].set("html", this.data[name]|| "");
                     }else if (dom=="layout_attachment"){
@@ -2500,7 +2500,7 @@ debugger;
 
             this.setData(this.data, diffFiletext);
             //this._checkSplitPage(this.pages[0]);
-debugger;
+
             this._repage();
         }.bind(this));
     },
@@ -2511,7 +2511,7 @@ debugger;
     },
     getData: function(){
         //if (this.editMode){
-        debugger;
+
         if (this.layout_copies) this.data.copies = this.layout_copies.get("text");
         if (this.layout_secret) this.data.secret = this.layout_secret.get("text");
         if (this.layout_priority) this.data.priority = this.layout_priority.get("text");
@@ -2664,7 +2664,7 @@ debugger;
                 }.bind(this))
             }
 
-            debugger;
+
 
             if (this.layout_issuanceUnit && this.layout_issuanceDate ){
                 var table = this.layout_issuanceUnit.getParent("table")
@@ -2923,7 +2923,7 @@ debugger;
         return "<html xmlns:v=\"urn:schemas-microsoft-com:vml\"><head><meta charset=\"UTF-8\" /></head><body>"+htmlStr+"</body></html>";
     },
     toWord: function(callback, name){
-        debugger;
+
         var docNmae = name || "";
         if (!docNmae){
             try{

+ 10 - 10
o2web/source/x_component_process_Xform/Form.js

@@ -236,7 +236,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
         }.bind(this));
     },
     loadRelatedScript: function () {
-        debugger;
+
         if (this.json.includeScripts && this.json.includeScripts.length) {
             var includeScriptText = "";
             var includedIds = [];
@@ -1015,7 +1015,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
         var data = this.businessData.data;
         Object.each(this.forms, function (module, id) {
             if (module.json.type === "Opinion") {
-                debugger;
+
                 if (issubmit) {
                     this.saveOpinion(module);
 
@@ -1151,7 +1151,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
     },
 
     saveWork: function (callback, silent) {
-        debugger;
+
         if (this.businessData.control["allowSave"]) {
             this.fireEvent("beforeSave");
 
@@ -1333,7 +1333,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
         if (!this.options.readonly) {
             if (this.businessData.work && this.businessData.work.id) {
                 if (this.app.inBrowser && navigator.sendBeacon) {
-                    debugger;
+
                     var obj = this.workAction.action.actions["checkDraft"];
                     var url = this.workAction.action.address + obj.uri;
                     url = url.replace("{id}", this.businessData.work.id);
@@ -1544,7 +1544,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
     //    return this;
     //},
     getIgnoreImpowerIdentity: function (processorOrgList) {
-        debugger;
+
         var list = [];
         var check = function (org, isProcessOrg) {
             var moduleData = isProcessOrg ? org.getValue() : org.getData();
@@ -1786,7 +1786,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
         }
         var _work = this;
         options.onPostLoad = function () {
-            debugger;
+
             var dialog = this;
             dialog.node.setStyle("display", "block");
             var nodeSize = div.getSize();
@@ -1920,7 +1920,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
 
     processWork: function () {
         var _self = this;
-        debugger;
+
         if (!this.businessData.work.startTime) {
             this.startDraftProcess();
         } else if (this.json.submitFormType === "select") {
@@ -1953,7 +1953,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
             return false;
         }
 
-        debugger;
+
         if (!this.submitFormModule) {
             if (!MWF["APPSubmitform"]) {
                 MWF.xDesktop.requireApp("process.Xform", "Subform", null, false);
@@ -1989,7 +1989,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
         }
 
         var setSize = function (notRecenter) {
-            debugger;
+
             var dlg = this;
             if (!dlg || !dlg.node) return;
             dlg.node.setStyle("display", "block");
@@ -1998,7 +1998,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
                 "height": size.y,
                 "width": size.x
             });
-            debugger;
+
             var s = dlg.setContentSize();
             // if ( dlg.content.getStyle("overflow-y") === "auto" && dlg.content.getStyle("overflow-x") !== "auto" ) {
             //     var paddingRight = (dlg.content.getStyle("padding-right").toInt() || 0 );

+ 2 - 2
o2web/source/x_component_process_Xform/Log.js

@@ -378,7 +378,7 @@ MWF.xApplication.process.Xform.Log = MWF.APPLog =  new Class({
         }
     },
     loadRecordTaskLine_default: function(task, node, isTask, margin, isZebra, nodeStyle, noIconNode){
-        debugger;
+
         var style = "logTaskNode";
         var textStyle = "logTaskFloatTextNode";
         if (nodeStyle){
@@ -446,7 +446,7 @@ MWF.xApplication.process.Xform.Log = MWF.APPLog =  new Class({
 
             switch (task.type) {
                 case "empower":
-                    debugger;
+
                     router = MWF.xApplication.process.Xform.LP.empower;
                     var empowerTo = (task.properties.nextManualTaskIdentityList && task.properties.nextManualTaskIdentityList.length) ? o2.name.cns(task.properties.nextManualTaskIdentityList).join(",") : "";
                     opinion = MWF.xApplication.process.Xform.LP.empowerTo + empowerTo;

+ 1 - 1
o2web/source/x_component_process_Xform/Number.js

@@ -22,7 +22,7 @@ MWF.xApplication.process.Xform.Number = MWF.APPNumber =  new Class({
     //     return (isNaN(n)) ? 0 : n;
     // },
     validationFormat: function(){
-        debugger;
+
         if( !this.node.getElement("input") )return true;
         var n = this.node.getElement("input").get("value");
         if (isNaN(n)) {

+ 7 - 7
o2web/source/x_component_process_Xform/Org.js

@@ -101,7 +101,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg =  new Class({
         }
     },
     _computeValue: function(){
-        debugger;
+
         var simple = this.json.storeRange === "simple";
         var values = [];
         if (this.json.identityValue) {
@@ -493,7 +493,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg =  new Class({
         }
     },
     resetData: function(){
-        debugger;
+
         var v = this.getValue();
         //this.setData((v) ? v.join(", ") : "");
         this.setData(v);
@@ -702,7 +702,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg =  new Class({
         this.node = node;
     },
     _loadNodeInputEdit: function(){
-        debugger;
+
         this.node.setStyle("overflow","visible");
         var input=null;
         MWF.require("MWF.widget.Combox", function(){
@@ -1331,7 +1331,7 @@ MWF.APPOrg.EmpowerChecker = new Class({
         return array;
     },
     setIgnoreEmpowerFlag : function(data, callback){
-        debugger;
+
         var ignoreList = this.getIgnoreEmpowerArray();
         for( var i=0; i<data.length; i++ ){
             var d = data[i];
@@ -1344,7 +1344,7 @@ MWF.APPOrg.EmpowerChecker = new Class({
         if( callback )callback( data );
     },
     replaceEmpowerIdentity : function(data, callback){
-        debugger;
+
         var empowerData = {};
         this.empowerSelectNodes.each(function(node){
             if( node.retrieve("isSelected") ){
@@ -1389,7 +1389,7 @@ MWF.APPOrg.EmpowerChecker = new Class({
     },
     openSelectEmpowerDlg_mobile : function( data, orginData, callback, container ){
 
-        debugger;
+
 
         var that = this;
 
@@ -1440,7 +1440,7 @@ MWF.APPOrg.EmpowerChecker = new Class({
                 "zIndex" : 3001,
                 "closeOnclickOk" : true,
                 "onComplete": function (items) {
-                    debugger;
+
                     var arr = [];
                     items.each(function (item) {
                         arr.push( item.data.id )

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

@@ -520,7 +520,7 @@ MWF.xApplication.process.Xform.Orgfield = MWF.APPOrgfield =  new Class({
 		this._setValue(this.getValue());
 	},
 	clickSelect: function( ev ){
-        debugger;
+
         this.validationMode();
 		var count = (this.json.count) ? this.json.count : 0;
 

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

@@ -388,7 +388,7 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield =  new Class({
     },
 
 	clickSelect: function( ev ){
-        debugger;
+
         var options = this.getOptions();
         if( this.selector && this.selector.loading ) {
         }else if( this.selector && this.selector.selector && this.selector.selector.active ){
@@ -648,7 +648,7 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield =  new Class({
         var values = [];
         var comboxValues = [];
 
-        debugger;
+
         var simple = this.json.storeRange === "simple";
 
         var type = typeOf(value);

+ 1 - 1
o2web/source/x_component_process_Xform/Select.js

@@ -318,7 +318,7 @@ MWF.xApplication.process.Xform.Select = MWF.APPSelect =  new Class({
 		return (value.length==1) ? value[0] : value;
 	},
     resetData: function(){
-		debugger;
+
         this.setData(this.getValue());
     },
 	getOptionsObj : function(){

+ 1 - 1
o2web/source/x_component_process_Xform/Statement.js

@@ -42,7 +42,7 @@ MWF.xApplication.process.Xform.Statement = MWF.APPStatement =  new Class({
             }.bind(this));
         }
 
-        debugger;
+
 
         //var data = JSON.parse(this.json.data);
         var viewJson = {

+ 1 - 1
o2web/source/x_component_process_Xform/StatementSelector.js

@@ -117,7 +117,7 @@ MWF.xApplication.process.Xform.StatementSelector = MWF.APPStatementSelector =  n
                             "text": MWF.LP.process.button.ok,
                             "action": function(){
                                 //if (callback) callback(_self.view.selectedItems);
-                                debugger;
+
                                 if (callback) callback(_self.view.getData());
                                 this.close();
                             }

+ 1 - 1
o2web/source/x_component_process_Xform/Subform.js

@@ -13,7 +13,7 @@ MWF.xApplication.process.Xform.Subform = MWF.APPSubform = new Class({
             this.form.checkSubformLoaded();
             this.checked = true;
         } else {
-            debugger;
+
             this.getSubform(function () {
                 this.loadSubform();
             }.bind(this));

+ 1 - 1
o2web/source/x_component_process_Xform/View.js

@@ -50,7 +50,7 @@ MWF.xApplication.process.Xform.View = MWF.APPView =  new Class({
             }.bind(this));
         }
 
-        debugger;
+
 
         //var data = JSON.parse(this.json.data);
         var viewJson = {

+ 1 - 1
o2web/source/x_component_process_Xform/Widget.js

@@ -3,7 +3,7 @@ MWF.xApplication.process.Xform.Widget = MWF.APPWidget =  new Class({
     Extends: MWF.APP$Module,
 
     _loadUserInterface: function(){
-        debugger;
+
         this.node.empty();
         this.getWidget(function(){
             this.loadWidget();

+ 3 - 3
o2web/source/x_component_process_Xform/widget/DocumentHistory.js

@@ -7,7 +7,7 @@ MWF.xApplication.process.Xform.widget.DocumentHistory = new Class({
         "inforTime": 2000
     },
     initialize: function(documentEditor, options){
-        debugger;
+
         this.setOptions(options);
         this.documentEditor = documentEditor;
         this.css = this.documentEditor.css;
@@ -24,7 +24,7 @@ MWF.xApplication.process.Xform.widget.DocumentHistory = new Class({
                     if (!layout.mobile || this.is_iPad()) this.createHistoryListNode();
 
                     this.documentEditor.options.pageShow = "single";
-                    debugger;
+
                     this.documentEditor.resetData();
 
                     this.beginDiffHistory();
@@ -998,4 +998,4 @@ MWF.xApplication.process.Xform.widget.DocumentHistory.Item = new Class({
             });
         }
     }
-})
+})

+ 3 - 3
o2web/source/x_component_process_Xform/widget/Monitor.js

@@ -111,7 +111,7 @@ MWF.xApplication.process.Xform.widget.Monitor = new Class({
     },
 
     logPlay: function(){
-        debugger;
+
         if (this.process){
             this.isPlaying = true;
             this.toolbar.childrenButton[0].setDisable(true);
@@ -159,7 +159,7 @@ MWF.xApplication.process.Xform.widget.Monitor = new Class({
         }
     },
     playMoveByRoutePoint: function(points, callback){
-        debugger;
+
         var p = {"x": this.playIcon.attr("x").toFloat(), "y": this.playIcon.attr("y").toFloat()};
         var toP = points.shift();
 
@@ -327,7 +327,7 @@ MWF.xApplication.process.Xform.widget.Monitor = new Class({
                 route.point.attr(this.css.passedRouteFillShap);
                 route.arrow.attr(this.css.passedRouteFillShap);
             }
-            debugger;
+
 
             if (log.taskCompletedList && log.taskCompletedList.length){
                 log.taskCompletedList.each(function(tc){

+ 1 - 1
o2web/source/x_desktop/js/base.js

@@ -430,7 +430,7 @@ o2.addReady(function () {
         layout.desktop.centerServer = center;
     };
     var _getDistribute = function (callback) {
-        debugger;
+
         if (layout.config.app_protocol === "auto") {
             layout.config.app_protocol = window.location.protocol;
         }

+ 3 - 3
o2web/source/x_desktop/js/base_simple.js

@@ -13,7 +13,7 @@ o2.xDesktop.requireApp = function (module, clazz, callback, async) {
     o2.requireApp(module, clazz, callback, async);
 };
 o2.addReady(function () {
-    debugger;
+
     var loadingNode = $("loaddingArea");
     var loadeds = 0;
     var loadCount = 16;
@@ -256,7 +256,7 @@ o2.addReady(function () {
         });
     };
     var _createNewApplication = function (e, appNamespace, appName, options, statusObj) {
-        debugger;
+
         var app = new appNamespace["Main"](this, options);
         app.desktop = layout;
         app.inBrowser = true;
@@ -422,7 +422,7 @@ o2.addReady(function () {
             } else {
                 var par = "app=" + encodeURIComponent(appNames) + "&status=" + encodeURIComponent((statusObj) ? JSON.encode(statusObj) : "") + "&option=" + encodeURIComponent((options) ? JSON.encode(options) : "");
 
-                debugger;
+
                 if (layout.app.$openWithSelf) {
                     return window.location = o2.filterUrl("../x_desktop/app.html?" + par + ((layout.debugger) ? "&debugger" : ""));
                 } else {

+ 2 - 2
o2web/source/x_desktop/js/base_simple_anonymous.js

@@ -178,7 +178,7 @@ o2.addReady(function () {
         });
     };
     var _createNewApplication = function (e, appNamespace, appName, options, statusObj) {
-        debugger;
+
         var app = new appNamespace["Main"](this, options);
         app.desktop = layout;
         app.inBrowser = true;
@@ -340,7 +340,7 @@ o2.addReady(function () {
             } else {
                 var par = "app=" + encodeURIComponent(appNames) + "&status=" + encodeURIComponent((statusObj) ? JSON.encode(statusObj) : "") + "&option=" + encodeURIComponent((options) ? JSON.encode(options) : "");
 
-                debugger;
+
                 if (layout.app.$openWithSelf) {
                     return window.location = o2.filterUrl("../x_desktop/app.html?" + par + ((layout.debugger) ? "&debugger" : ""));
                 } else {

+ 2 - 2
o2web/source/x_desktop/js/qywxStartProcess.js

@@ -115,7 +115,7 @@ o2.xDesktop.requireApp = function (module, clazz, callback, async) {
                         "identity": null,
                         "latest": false,
                         "onStarted": function (data, title, processName) {
-                            debugger;
+
                             if (data.work){
                                 layout.startProcessDraft(data, title, processName, redirect);
                             }else{
@@ -145,7 +145,7 @@ o2.xDesktop.requireApp = function (module, clazz, callback, async) {
                 history.replaceState(null, "startProcess", "../x_desktop/appMobile.html?app=process.TaskCenter");
                 
             }
-            debugger;
+
             // layout.openApplication(null, "process.Work", options);
             layout.openWorkIn(options);
         });

+ 1 - 1
o2web/source/x_desktop/smapsso.html

@@ -74,7 +74,7 @@
                 window.layout = {};
                 window.layout.config = config;
                 getServiceAddress(config, function(address){
-                    debugger;
+
                     var uri = new URI(window.location.toString());
                     var xtoken = uri.getData("SMAP_SESSION_DATA");
                     var appID = uri.getData("appID");