]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/smarty3/jot-header.tpl
template engine rework
[friendica.git] / view / theme / smoothly / smarty3 / jot-header.tpl
index 85190823995fa884d335a549f84326249b924c4a..0560969a6e0658f54d61abcc50e325dbc74550d9 100644 (file)
@@ -19,9 +19,9 @@ function initEditor(cb){
                        $("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
                        $(".jothidden").show();
                        editor = true;
-                       $("a#jot-perms-icon").fancybox({
-                               'transitionIn' : 'elastic',
-                               'transitionOut' : 'elastic'
+                       $("a#jot-perms-icon").colorbox({
+                                               'inline' : true,
+                                               'transition' : 'elastic'
                        });
                                    $("#profile-jot-submit-wrapper").show();
                                                                {{if $newpost}}
@@ -138,9 +138,9 @@ function initEditor(cb){
         });
         editor = true;
         // setup acl popup
-        $("a#jot-perms-icon").fancybox({
-            'transitionIn' : 'none',
-            'transitionOut' : 'none'
+        $("a#jot-perms-icon").colorbox({
+                       'inline' : true,
+                       'transition' : 'elastic'
         }); 
     } else {
         if (typeof cb!="undefined") cb();
@@ -329,7 +329,7 @@ function enableOnUser(){
                var bordercolor = $("input").css("border-color");
                
                $.get('filer/', function(data){
-                       $.fancybox(data);
+                       $.colorbox({html:data});
                        $("#id_term").keypress(function(){
                                $(this).css("border-color",bordercolor);
                        })
@@ -347,7 +347,7 @@ function enableOnUser(){
 //                                     if(timer) clearTimeout(timer);
 //                                     timer = setTimeout(NavUpdate,3000);
                                        liking = 1;
-                                       $.fancybox.close();
+                                       $.colorbox.close();
                                } else {
                                        $("#id_term").css("border-color","#FF0000");
                                }