Skip to content

Commit

Permalink
22.1.15 release
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgraph committed Dec 27, 2023
1 parent 8f00931 commit cf93526
Show file tree
Hide file tree
Showing 14 changed files with 73 additions and 65 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
27-DEC-2023: 21.1.15

- Fixes NPE of undefined function emfDone [drawio-4072]
- Prints current version number in clear.html
- Fixes dark mode not persisted in some cases [drawio-desktop-1540]

27-DEC-2023: 21.1.14

- Fixes this.isVisioFilename undefined in Editor.js
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.1.14
22.1.15
1 change: 1 addition & 0 deletions src/main/webapp/clear.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body style="font-size: large;">
<script src="js/app.min.js"></script>
<script src="js/clear.js"></script>
</body>
</html>
28 changes: 14 additions & 14 deletions src/main/webapp/js/app.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/webapp/js/clear.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ try
document.body.appendChild(document.createElement('br'));
};

write('Clearing Cache...');
write('Clearing Cached version ' + EditorUi.VERSION + '...');

navigator.serviceWorker.getRegistrations().then(function(registrations)
{
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/js/diagramly/EditorUi.js
Original file line number Diff line number Diff line change
Expand Up @@ -13135,7 +13135,7 @@
if (urlParams['ui'] == null && value != 'auto' && theme != 'atlas' &&
theme != 'min' && theme != 'sketch' && theme != 'simple')
{
this.setCurrentTheme((!Editor.isDarkMode()) ? 'kennedy' : 'dark', true);
this.setCurrentTheme((!value) ? 'kennedy' : 'dark', true);
}
};

Expand Down
3 changes: 2 additions & 1 deletion src/main/webapp/js/diagramly/vsdx/importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,8 @@ var com;
}
else
{
emfDone();
processedFiles++;
doneCheck();
}
}
else if ((function (str, searchString) { var pos = str.length - searchString.length; var lastIndex = str.indexOf(searchString, pos); return lastIndex !== -1 && lastIndex === pos; })(name, ".bmp")) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/js/extensions.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cf93526

Please sign in to comment.