Browse Source

7.6.2 release

Former-commit-id: 4ad1c23d36c5346c062c44107af9cd2d39e2adf9
Gaudenz Alder 7 years ago
parent
commit
525f665001
8 changed files with 824 additions and 811 deletions
  1. 4 0
      ChangeLog
  2. 1 1
      VERSION
  3. 1 1
      war/cache.manifest
  4. 304 304
      war/js/app.min.js
  5. 497 497
      war/js/atlas.min.js
  6. 15 6
      war/js/diagramly/Dialogs.js
  7. 1 1
      war/js/embed-static.min.js
  8. 1 1
      war/js/reader.min.js

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+25-OCT-2017: 7.6.2
+
+- Adds optional arguments for subclassers
+
 25-OCT-2017: 7.6.1
 
 - Fixes Google picker for certain file types

+ 1 - 1
VERSION

@@ -1 +1 @@
-7.6.1
+7.6.2

+ 1 - 1
war/cache.manifest

@@ -1,7 +1,7 @@
 CACHE MANIFEST
 
 # THIS FILE WAS GENERATED. DO NOT MODIFY!
-# 10/25/2017 11:34 AM
+# 10/25/2017 04:23 PM
 
 app.html
 index.html?offline=1

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


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


+ 15 - 6
war/js/diagramly/Dialogs.js

@@ -2513,10 +2513,14 @@ var ParseDialog = function(editorUi, title)
 /**
  * Constructs a new dialog for creating files from templates.
  */
-var NewDialog = function(editorUi, compact, showName, callback, createOnly, cancelCallback)
+var NewDialog = function(editorUi, compact, showName, callback, createOnly, cancelCallback, leftHighlight, rightHighlight, rightHighlightBorder, itemPadding, templateFile)
 {
 	showName = (showName != null) ? showName : true;
 	createOnly = (createOnly != null) ? createOnly : false;
+	leftHighlight = (leftHighlight != null) ? leftHighlight : '#ebf2f9';
+	rightHighlight = (rightHighlight != null) ? rightHighlight : '#e6eff8';
+	rightHighlightBorder = (rightHighlightBorder != null) ? rightHighlightBorder : '1px solid #ccd9ea';
+	templateFile = (templateFile != null) ? templateFile : TEMPLATE_PATH + '/index.xml';
 	
 	var outer = document.createElement('div');
 	outer.style.height = '100%';
@@ -2703,8 +2707,8 @@ var NewDialog = function(editorUi, compact, showName, callback, createOnly, canc
 		templateLibs = libs;
 		selectedElt = elt;
 		
-		selectedElt.style.backgroundColor = '#e6eff8';
-		selectedElt.style.border = '1px solid #ccd9ea';
+		selectedElt.style.backgroundColor = rightHighlight;
+		selectedElt.style.border = rightHighlightBorder;
 	};
 
 	function addButton(url, libs, title, tooltip, select)
@@ -2833,13 +2837,18 @@ var NewDialog = function(editorUi, compact, showName, callback, createOnly, canc
 			entry.style.cssText = 'display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;overflow:hidden;text-overflow:ellipsis;';
 			entry.setAttribute('title', label + ' (' + templateList.length + ')');
 			mxUtils.write(entry, entry.getAttribute('title'));
+			
+			if (itemPadding != null)
+			{
+				entry.style.padding = itemPadding;
+			}
 
 			list.appendChild(entry);
 			
 			if (currentEntry == null)
 			{
 				currentEntry = entry;
-				currentEntry.style.backgroundColor = '#ebf2f9';
+				currentEntry.style.backgroundColor = leftHighlight;
 			}
 			
 			(function(cat2, entry2)
@@ -2850,7 +2859,7 @@ var NewDialog = function(editorUi, compact, showName, callback, createOnly, canc
 					{
 						currentEntry.style.backgroundColor = '';
 						currentEntry = entry2;
-						currentEntry.style.backgroundColor = '#ebf2f9';	
+						currentEntry.style.backgroundColor = leftHighlight;
 						
 						div.scrollTop = 0;
 						div.innerHTML = '';
@@ -2871,7 +2880,7 @@ var NewDialog = function(editorUi, compact, showName, callback, createOnly, canc
 		outer.appendChild(div);
 		var indexLoaded = false;
 		
-		mxUtils.get(TEMPLATE_PATH + '/index.xml', function(req)
+		mxUtils.get(templateFile, function(req)
 		{
 			// Workaround for index loaded 3 times in iOS offline mode
 			if (!indexLoaded)

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