]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/jot-header.tpl
template engine rework
[friendica.git] / view / theme / dispy / jot-header.tpl
index 3974c11c9fd12fc109df8b44b31d50b4c50382f5..f4712f0bef181a84113c165b7ef4b3d73ea8f116 100644 (file)
@@ -11,9 +11,9 @@ 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({
-                               'transitionIn' : 'elastic',
-                               'transitionOut' : 'elastic'
+                       $("a#jot-perms-icon").colorbox({
+                               'inline' : true,
+                               'transition' : 'elastic'
                        });
                        $(".jothidden").show();
                        if (typeof cb!="undefined") cb();
@@ -102,9 +102,9 @@ function initEditor(cb) {
                });
                editor = true;
                // setup acl popup
-               $("a#jot-perms-icon").fancybox({
-                       'transitionIn' : 'elastic',
-                       'transitionOut' : 'elastic'
+               $("a#jot-perms-icon").colorbox({
+                       'inline' : true,
+                       'transition' : 'elastic'
                }); 
        } else {
                if (typeof cb!="undefined") cb();
@@ -268,7 +268,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);
                        })
@@ -286,7 +286,7 @@ function enableOnUser(){
                                        if(timer) clearTimeout(timer);
                                        timer = setTimeout(NavUpdate,3000);
                                        liking = 1;
-                                       $.fancybox.close();
+                                       $.colorbox.close();
                                } else {
                                        $("#id_term").css("border-color","#FF0000");
                                }