diff --git a/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb b/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb index 5d6721f3..b6cc6b8d 100644 --- a/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb +++ b/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb @@ -149,13 +149,14 @@ var galleryAPI = function(){ this.loadImages = function(id){ - var headarea = '" href="orbit_gallery"><%= I18n.t("gallery.back_to_albums") %> '; + var headarea = '" href="orbit_gallery"><%= I18n.t("gallery.back_to_albums") %> '; headarea+='" href="images" onclick="return false;"><%= I18n.t("gallery.add_images") %> '; headarea+='" href="delete" onclick="return false;"><%= I18n.t("gallery.del_album") %> '; headarea+='" href="orbit_gallery?edit='+id+'" ><%= I18n.t("gallery.edit") %>'; - + headarea+='" href="" ><%= I18n.t("gallery.album_tag") %>'; + headarea = $(headarea); var uploadpanel = $('
Close Panel
'); var frame = $('');