* Re-enabled setting of tags in Story and Image prototype

* Added custom Layout.href() method to prevent the URL from being corrupted with the layout ID (which strangely happens from time to time)
 * Uncommented $tags collection in Root.properties to prevent conflict with collection in Site having the same name
 * Fixed output of tags list in Story.getFormValue() method
This commit is contained in:
Tobi Schäfer 2008-01-09 21:34:21 +00:00
parent ece3bedc6d
commit da25a7bfdc
5 changed files with 19 additions and 6 deletions

View file

@ -161,7 +161,7 @@ Image.prototype.update = function(data) {
this.description = data.description;
this.touch();
// FIXME: Don't set the tags of the image via Story.prototype.setTags
//Story.prototype.setTags.call(this, data.tags || data.tags_array);
Story.prototype.setTags.call(this, data.tags || data.tags_array);
return;
};