X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdispy%2Fjot-header.tpl;h=f4712f0bef181a84113c165b7ef4b3d73ea8f116;hb=ff8c1be987f06e40796c1fc540342a033746f750;hp=0be480df26e14e548c62d1a6ffda6182a9ae4654;hpb=10b0ce58612a02527231594b8d288af162163c6d;p=friendica.git diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl index 0be480df26..f4712f0bef 100644 --- a/view/theme/dispy/jot-header.tpl +++ b/view/theme/dispy/jot-header.tpl @@ -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(); @@ -36,9 +36,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, @@ -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"); }