allow duplicated attribute per note (in effect attributes can be multi-valued). Closes #33

This commit is contained in:
azivner
2018-02-06 21:18:09 -05:00
parent c2a2f195aa
commit 7c74c77a2c
6 changed files with 7 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ const attributesDialog = (function() {
function isValid() {
for (let attrs = self.attributes(), i = 0; i < attrs.length; i++) {
if (self.isEmptyName(i) || self.isNotUnique(i)) {
if (self.isEmptyName(i)) {
return false;
}
}