From 53fac7a8c2447dd41b5bfa6a08cdb589425bfb4d Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Tue, 4 Feb 2014 21:38:01 +0100 Subject: [PATCH] Improved tag editing --- assets/js/modules/photo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/modules/photo.js b/assets/js/modules/photo.js index ab4351d..e506fe1 100644 --- a/assets/js/modules/photo.js +++ b/assets/js/modules/photo.js @@ -309,7 +309,7 @@ photo = { if (!photoIDs) return false; if (photoIDs instanceof Array===false) photoIDs = [photoIDs]; - if (visible.photo()) oldTags = photo.json.tags; + if (visible.photo()) oldTags = photo.json.tags.replace(/,/g, ', '); buttons = [ ["Set Tags", function() {