1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-10-30 02:47:36 +01:00

Fixed the addition of new cards in narrow view

This commit is contained in:
Giulio Cesare Solaroli
2015-03-21 12:18:14 +01:00
parent 8453eb1f23
commit f6c76a24f0
2 changed files with 2 additions and 11 deletions

View File

@@ -277,7 +277,7 @@ console.log("DROP"); //, anEvent);
//............................................................................
cleanupTags: function (someTags) {
return MochiKit.Base.filter(Clipperz.PM.DataModel.Record.isRegularTag, someTags).sort(Clipperz.Base.caseInsensitiveCompare);
return MochiKit.Base.filter(Clipperz.PM.DataModel.Record.isRegularTag, someTags || []).sort(Clipperz.Base.caseInsensitiveCompare);
},
renderTags: function (someTags) {