X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot-header.tpl;h=a442c4c6485b8c0de5769317f32a59104469075c;hb=ddf1caf0fd9ea4fc97147ba7b45587bcf7a6fab4;hp=d6f39d6c4e1621982834a75b565d3d53a0cc7658;hpb=5b4944fe8e951776542a0401a6766e92ff384020;p=friendica.git diff --git a/view/jot-header.tpl b/view/jot-header.tpl index d6f39d6c4e..a442c4c648 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -13,9 +13,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(); @@ -38,9 +38,9 @@ function initEditor(cb){ entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', + //force_p_newlines : false, + //force_br_newlines : true, + forced_root_block : 'div', convert_urls: false, content_css: "$baseurl/view/custom_tinymce.css", theme_advanced_path : false, @@ -105,9 +105,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(); @@ -274,7 +274,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); }) @@ -292,7 +292,7 @@ function enableOnUser(){ // if(timer) clearTimeout(timer); // timer = setTimeout(NavUpdate,3000); liking = 1; - $.fancybox.close(); + $.colorbox.close(); } else { $("#id_term").css("border-color","#FF0000"); }