From 7621bd3bb171c7a4772e4663ee43b86a55a1f7c0 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 21 Apr 2013 22:12:18 -0700 Subject: reverting to fancybox for "save to file" selection box until we find a better way - prettyPhoto just isn't working for this and I really need this functionality ATM until we can figure out how to make prettyPhoto work properly here. --- view/tpl/jot-header.tpl | 6 +++--- view/tpl/smarty3/jot-header.tpl | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 1c4c43903..4736f2137 100644 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -88,7 +88,7 @@ function initEditor(cb){ editor = true; // setup acl popup - $("a#jot-perms-icon").prettyPhoyo({ + $("a#jot-perms-icon").prettyPhoto({ 'transitionIn' : 'elastic', 'transitionOut' : 'elastic' }); @@ -252,7 +252,7 @@ function enableOnUser(){ var bordercolor = $("input").css("border-color"); $.get('filer/', function(data){ - $.prettyPhoto(data); + $.fancybox(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; - $.prettyPhoto.close(); + $.fancybox.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 c1b6d62e2..ab22b3775 100644 --- a/view/tpl/smarty3/jot-header.tpl +++ b/view/tpl/smarty3/jot-header.tpl @@ -93,7 +93,7 @@ function initEditor(cb){ editor = true; // setup acl popup - $("a#jot-perms-icon").prettyPhoyo({ + $("a#jot-perms-icon").prettyPhoto({ 'transitionIn' : 'elastic', 'transitionOut' : 'elastic' }); @@ -257,7 +257,7 @@ function enableOnUser(){ var bordercolor = $("input").css("border-color"); $.get('filer/', function(data){ - $.prettyPhoto(data); + $.fancybox(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; - $.prettyPhoto.close(); + $.fancybox.close(); } else { $("#id_term").css("border-color","#FF0000"); } -- cgit v1.2.3