Pārlūkot izejas kodu

10.0.39 release

Gaudenz Alder 6 gadi atpakaļ
vecāks
revīzija
d83c0e1097

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+15-JAN-2019: 10.0.39
+
+- Fixes shadow change check
+
 15-JAN-2019: 10.0.38
 
 - Fixes inconsistency in collaborative editing

+ 1 - 1
VERSION

@@ -1 +1 @@
-10.0.38
+10.0.39

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

@@ -1,7 +1,7 @@
 CACHE MANIFEST
 
 # THIS FILE WAS GENERATED. DO NOT MODIFY!
-# 01/15/2019 09:41 AM
+# 01/15/2019 02:40 PM
 
 app.html
 index.html?offline=1

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 10 - 10
src/main/webapp/js/app.min.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 408 - 408
src/main/webapp/js/atlas.min.js


+ 5 - 5
src/main/webapp/js/diagramly/DrawioFileSync.js

@@ -716,7 +716,7 @@ DrawioFileSync.prototype.catchup = function(etag, secret, success, error, abort)
 		var doCatchup = mxUtils.bind(this, function()
 		{
 			// Ignores patch if shadow has changed
-			if (current == etag)
+			if (current != this.file.getCurrentEtag())
 			{
 				if (success != null)
 				{
@@ -741,7 +741,7 @@ DrawioFileSync.prototype.catchup = function(etag, secret, success, error, abort)
 					this.file.stats.bytesReceived += req.getText().length;	
 					
 					// Ignores patch if shadow has changed
-					if (current == etag)
+					if (current != this.file.getCurrentEtag())
 					{
 						if (success != null)
 						{
@@ -922,6 +922,9 @@ DrawioFileSync.prototype.merge = function(patches, checksum, etag, success, erro
 				var from = this.ui.hashValue(this.file.getCurrentEtag());
 				var to = this.ui.hashValue(etag);
 				
+				currentDetails.inConflictState = this.file.inConflictState;
+				currentDetails.invalidChecksum = this.file.invalidChecksum;
+				
 				this.file.checksumError(error, patches,
 					'From: ' + from +
 					'\nTo: ' + to +
@@ -1063,9 +1066,6 @@ DrawioFileSync.prototype.fileSaved = function(pages, lastDesc, success, error)
 			var details = {v: EditorUi.VERSION, t: new Date().toISOString(), ua: navigator.userAgent};
 			var checksum = this.ui.getHashValueForPages(pages, details);
 			var diff = this.ui.diffPages(shadow, pages);
-
-			// Debugging
-			details.lastChecksum = this.ui.getHashValueForPages(shadow);
 			
 			// Data is stored in cache and message is sent to all listeners
 			var etag = this.file.getDescriptorEtag(lastDesc);

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 1
src/main/webapp/js/embed-static.min.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 1
src/main/webapp/js/reader.min.js