Add save path and editing to WebUI new category dialog

This commit is contained in:
Thomas Piccirello 2018-07-23 01:49:34 -04:00
parent a0e6007fc1
commit 63c53766b4
12 changed files with 197 additions and 71 deletions

View file

@ -120,3 +120,14 @@ function escapeHtml(str) {
div.appendChild(document.createTextNode(str));
return div.innerHTML;
}
function safeTrim(value) {
try {
return value.trim();
}
catch (e) {
if (e instanceof TypeError)
return "";
throw e;
}
}