This commit is contained in:
Mirco Wittrien 2020-05-19 16:54:37 +02:00
parent d1fc8ea88c
commit 275ca4ab4f
2 changed files with 2 additions and 2 deletions

View File

@ -3292,7 +3292,7 @@
else BDFDB.LibraryModules.ContextMenuUtils.closeContextMenu();
};
BDFDB.ContextMenuUtils.createItemId = function (...strings) {
return strings.filter(s => typeof s == "string").map(s => s.toLowerCase().replace(/\s/, "-")).join("-");
return strings.map(s => typeof s == "number" ? s.toString() : s).filter(s => typeof s == "string").map(s => s.toLowerCase().replace(/\s/, "-")).join("-");
};
BDFDB.TimeUtils = {};

File diff suppressed because one or more lines are too long