Browse Source

Improved tag editing

Tobias Reich 11 years ago
parent
commit
53fac7a8c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/js/modules/photo.js

+ 1 - 1
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() {