Browse Source

6.0.2.6 release

Gaudenz Alder 8 years ago
parent
commit
6bbd962953

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+26-DEC-2016: 6.0.2.6
+
+- Fixes lazy loading of clients in chromeless mode
+- Fixes export of arbitrary pages with advanced dialog
+
 23-DEC-2016: 6.0.2.5
 
 - Adds PlantUML option in text dialog

+ 1 - 1
VERSION

@@ -1 +1 @@
-6.0.2.5
+6.0.2.6

+ 1 - 1
war/cache.manifest

@@ -1,7 +1,7 @@
 CACHE MANIFEST
 
 # THIS FILE WAS GENERATED. DO NOT MODIFY!
-# 12/23/2016 10:36 AM
+# 12/26/2016 10:21 AM
 
 /app.html
 /index.html?offline=1

File diff suppressed because it is too large
+ 7 - 7
war/js/app.min.js


File diff suppressed because it is too large
+ 1 - 1
war/js/atlas-viewer.min.js


File diff suppressed because it is too large
+ 7 - 7
war/js/atlas.min.js


+ 15 - 3
war/js/diagramly/App.js

@@ -216,7 +216,7 @@ App.getStoredMode = function()
 			{
 				if (typeof window.DriveClient === 'function')
 				{
-					if (urlParams['gapi'] != '0' && isSvgBrowser && urlParams['chrome'] != '0' &&
+					if (urlParams['gapi'] != '0' && isSvgBrowser &&
 						(document.documentMode == null || document.documentMode >= 10))
 					{
 						// Immediately loads client
@@ -226,6 +226,11 @@ App.getStoredMode = function()
 						{
 							mxscript('https://apis.google.com/js/api.js');
 						}
+						else
+						{
+							// Disables loading of client
+							window.DriveClient = null;
+						}
 					}
 					else
 					{
@@ -238,7 +243,7 @@ App.getStoredMode = function()
 				// KNOWN: Picker does not work in IE11 (https://dropbox.zendesk.com/requests/1650781)
 				if (typeof window.DropboxClient === 'function')
 				{
-					if (urlParams['db'] != '0' && isSvgBrowser && urlParams['chrome'] != '0' &&
+					if (urlParams['db'] != '0' && isSvgBrowser &&
 						(document.documentMode == null || document.documentMode > 9))
 					{
 						// Immediately loads client
@@ -247,6 +252,10 @@ App.getStoredMode = function()
 						{
 							mxscript('https://www.dropbox.com/static/api/1/dropins.js', null, 'dropboxjs', App.DROPBOX_APPKEY);
 						}
+						else if (urlParams['chrome'] == '0')
+						{
+							window.DropboxClient = null;
+						}
 					}
 					else
 					{
@@ -259,7 +268,6 @@ App.getStoredMode = function()
 				if (typeof window.OneDriveClient === 'function')
 				{
 					if (urlParams['od'] != '0' && !navigator.userAgent.match(/(iPad|iPhone|iPod)/g) &&
-						urlParams['chrome'] != '0' &&
 						(navigator.userAgent.indexOf('MSIE') < 0 || document.documentMode >= 10))
 					{
 						// Immediately loads client
@@ -268,6 +276,10 @@ App.getStoredMode = function()
 						{
 							mxscript('https://js.live.net/v5.0/wl.js');
 						}
+						else if (urlParams['chrome'] == '0')
+						{
+							window.OneDriveClient = null;
+						}
 					}
 					else
 					{

+ 1 - 1
war/js/diagramly/Editor.js

@@ -502,7 +502,7 @@
 			return function()
 			{
 				// LATER Fix decoding of HTML file in backend (remove argument in getFileData)
-				return 'xml=' + encodeURIComponent(ui.getFileData(true));
+				return 'xml=' + encodeURIComponent(ui.getFileData(true, null, null, null, null, true));
 			};
 		};
 	}

File diff suppressed because it is too large
+ 1 - 1
war/js/embed-static.min.js


File diff suppressed because it is too large
+ 1 - 1
war/js/reader.min.js


File diff suppressed because it is too large
+ 1 - 1
war/js/viewer.min.js