Improved tag editing

This commit is contained in:
Tobias Reich 2014-02-04 21:38:01 +01:00
parent 62c26b9153
commit 53fac7a8c2

View File

@ -309,7 +309,7 @@ photo = {
if (!photoIDs) return false; if (!photoIDs) return false;
if (photoIDs instanceof Array===false) photoIDs = [photoIDs]; if (photoIDs instanceof Array===false) photoIDs = [photoIDs];
if (visible.photo()) oldTags = photo.json.tags; if (visible.photo()) oldTags = photo.json.tags.replace(/,/g, ', ');
buttons = [ buttons = [
["Set Tags", function() { ["Set Tags", function() {