Skip to content
Snippets Groups Projects
Commit f1982965 authored by Bartek Przybylski's avatar Bartek Przybylski
Browse files

gallery works in safari now

parent f999fbf8
Branches
No related tags found
No related merge requests found
......@@ -46,14 +46,14 @@ Albums={
var a = Albums.albums[i];
var local=$(displayTemplate);
local.attr('data-album',a.name);
$(".gallery_album_decoration a.rename", local).click(function(name,event){
$(".gallery_album_decoration a.rename", local).bind('click', {name: a.name},function(event){
event.preventDefault();
galleryRename(name);
}.bind(null,a.name));
$(".gallery_album_decoration a.remove", local).click(function(name,event){
galleryRename(event.data.name);
});
$(".gallery_album_decoration a.remove", local).bind('click', {name: a.name},function(event){
event.preventDefault();
galleryRemove(name);
}.bind(null,a.name));
galleryRemove(a.data.name);
});
$("a.view", local).attr('href','?view='+a.name);
$('h1',local).text(a.name);
$(".gallery_album_cover", local).attr('title',a.name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment