From dc80dce95e5c94912050c763c1e617e228a80b86 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Tue, 16 Apr 2013 04:20:29 +0100 Subject: Fix acl --- view/tpl/jot-header.tpl | 8 ++++---- view/tpl/smarty3/jot-header.tpl | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 700a815cf..1c4c43903 100644 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -13,7 +13,7 @@ function initEditor(cb){ $("#profile-jot-text").css({ 'height': 200, 'color': '#000' }); $("#profile-jot-text").contact_autocomplete(baseurl+"/acl"); editor = true; - $("a#jot-perms-icon").fancybox({ + $("a#jot-perms-icon").prettyPhoto({ 'transitionIn' : 'elastic', 'transitionOut' : 'elastic' }); @@ -88,7 +88,7 @@ function initEditor(cb){ editor = true; // setup acl popup - $("a#jot-perms-icon").fancybox({ + $("a#jot-perms-icon").prettyPhoyo({ 'transitionIn' : 'elastic', 'transitionOut' : 'elastic' }); @@ -252,7 +252,7 @@ function enableOnUser(){ var bordercolor = $("input").css("border-color"); $.get('filer/', function(data){ - $.fancybox(data); + $.prettyPhoto(data); $("#id_term").keypress(function(){ $(this).css("border-color",bordercolor); }) @@ -270,7 +270,7 @@ function enableOnUser(){ // if(timer) clearTimeout(timer); // timer = setTimeout(NavUpdate,3000); liking = 1; - $.fancybox.close(); + $.prettyPhoto.close(); } else { $("#id_term").css("border-color","#FF0000"); } diff --git a/view/tpl/smarty3/jot-header.tpl b/view/tpl/smarty3/jot-header.tpl index cce83e30b..c1b6d62e2 100644 --- a/view/tpl/smarty3/jot-header.tpl +++ b/view/tpl/smarty3/jot-header.tpl @@ -18,7 +18,7 @@ function initEditor(cb){ $("#profile-jot-text").css({ 'height': 200, 'color': '#000' }); $("#profile-jot-text").contact_autocomplete(baseurl+"/acl"); editor = true; - $("a#jot-perms-icon").fancybox({ + $("a#jot-perms-icon").prettyPhoto({ 'transitionIn' : 'elastic', 'transitionOut' : 'elastic' }); @@ -93,7 +93,7 @@ function initEditor(cb){ editor = true; // setup acl popup - $("a#jot-perms-icon").fancybox({ + $("a#jot-perms-icon").prettyPhoyo({ 'transitionIn' : 'elastic', 'transitionOut' : 'elastic' }); @@ -257,7 +257,7 @@ function enableOnUser(){ var bordercolor = $("input").css("border-color"); $.get('filer/', function(data){ - $.fancybox(data); + $.prettyPhoto(data); $("#id_term").keypress(function(){ $(this).css("border-color",bordercolor); }) @@ -275,7 +275,7 @@ function enableOnUser(){ // if(timer) clearTimeout(timer); // timer = setTimeout(NavUpdate,3000); liking = 1; - $.fancybox.close(); + $.prettyPhoto.close(); } else { $("#id_term").css("border-color","#FF0000"); } -- cgit v1.2.3