Parcourir la source

修复base.js bug

unknown il y a 5 ans
Parent
commit
560137389f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      o2web/source/x_desktop/js/base.js

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

@@ -270,7 +270,7 @@ o2.xDesktop.requireApp = function (module, clazz, callback, async) {
         if (status) statusStr = JSON.encode(status);
         if (status) statusStr = JSON.encode(status);
 
 
         var port = uri.get("port");
         var port = uri.get("port");
-        window.location = o2.filterUrl(uri.get("scheme") + "://" + uri.get("host") + ((port) ? ":" + port + "/" : "") + uri.get("directory ") + "?app=" + encodeURIComponent(appNames) + "&status=" + encodeURIComponent(statusStr) + "&option=" + encodeURIComponent((options) ? JSON.encode(options) : "") + ((layout.debugger) ? "&debugger" : ""));
+        window.location = o2.filterUrl(uri.get("scheme") + "://" + uri.get("host") + ((port) ? ":" + port + "/" : "") + uri.get("directory ") + "?app=" + encodeURIComponent(appNames) + "&status=" + encodeURIComponent(statusStr) + "&option=" + encodeURIComponent((optionsStr) ? JSON.encode(optionsStr) : "") + ((layout.debugger) ? "&debugger" : ""));
     };
     };
 
 
     layout.load = function (appNames, options, statusObj) {
     layout.load = function (appNames, options, statusObj) {