Gaudenz Alder 6 éve
szülő
commit
392fea5b5a

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+08-MAR-2019: 10.3.7
+
+- Creates revision for every autosave in Google Drive
+- Fixes new Confluence editor issues
+
 07-MAR-2019: 10.3.6
 
 - Improves error handling for Google Drive

+ 1 - 1
VERSION

@@ -1 +1 @@
-10.3.6
+10.3.7

+ 1 - 1
src/main/webapp/cache.manifest

@@ -1,7 +1,7 @@
 CACHE MANIFEST
 
 # THIS FILE WAS GENERATED. DO NOT MODIFY!
-# 03/07/2019 12:33 PM
+# 03/08/2019 04:57 AM
 
 app.html
 index.html?offline=1

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 8 - 7
src/main/webapp/js/app.min.js


+ 3 - 2
src/main/webapp/js/diagramly/DrawioFile.js

@@ -120,9 +120,10 @@ DrawioFile.prototype.changeListenerEnabled = true;
 DrawioFile.prototype.lastAutosaveRevision = null;
 
 /**
- * Sets the delay for autosave in milliseconds. Default is 1000.
+ * Sets the delay between revisions when using autosave. Default is 0 which
+ * creates a revision on every autosave.
  */
-DrawioFile.prototype.maxAutosaveRevisionDelay = 1800000;
+DrawioFile.prototype.maxAutosaveRevisionDelay = 0;
 
 /**
  * Specifies if notify events should be ignored.

+ 6 - 0
src/main/webapp/js/diagramly/DriveClient.js

@@ -2515,6 +2515,12 @@ DriveClient.prototype.convertRealtimeFiles = function()
 														print('<img src="' + this.ui.editor.graph.warningImage.src + '" border="0" valign="absmiddle"/> ' + msg);
 														doNextPage();
 													}));
+												}), mxUtils.bind(this, function(e)
+												{
+													var msg = (err != null && err.error != null && err.error.message != null) ? err.error.message : '';
+													failed++;
+													print('<img src="' + this.ui.editor.graph.warningImage.src + '" border="0" valign="absmiddle"/> ' + msg);
+													doNextPage();
 												}));
 											}
 											else

+ 5 - 5
src/main/webapp/js/mxgraph/Dialogs.js

@@ -1483,22 +1483,22 @@ var EditDataDialog = function(ui, cell)
 	{
 	    if (a.name < b.name)
 	    {
-	    		return -1;
+	    	return -1;
 	    }
 	    else if (a.name > b.name)
 	    {
-	    		return 1;
+	    	return 1;
 	    }
 	    else
 	    {
-	    		return 0;
+	    	return 0;
 	    }
 	});
 
 	if (id != null)
 	{	
 		var text = document.createElement('input');
-		text.style.width = '280px';
+		text.style.width = '420px';
 		text.style.textAlign = 'center';
 		text.setAttribute('type', 'text');
 		text.setAttribute('readOnly', 'true');
@@ -1524,7 +1524,7 @@ var EditDataDialog = function(ui, cell)
 	var nameInput = document.createElement('input');
 	nameInput.setAttribute('placeholder', mxResources.get('enterPropertyName'));
 	nameInput.setAttribute('type', 'text');
-	nameInput.setAttribute('size', (mxClient.IS_IE || mxClient.IS_IE11) ? '18' : '22');
+	nameInput.setAttribute('size', (mxClient.IS_IE || mxClient.IS_IE11) ? '36' : '40');
 	nameInput.style.marginLeft = '2px';
 
 	newProp.appendChild(nameInput);

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 2
src/main/webapp/js/viewer.min.js