X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ftestbubble%2Fjot-header.tpl;h=9c0037f7f242cc0ca1541fdca5b06257b25a10d1;hb=bc03bb5a4a76363b59cb6b20b17f8b79db122b22;hp=79f489e786ed69955f5f357efe6636fca97de8c1;hpb=2b6498b2a25dff4e89501a634b5d58418d922ebd;p=friendica.git diff --git a/view/theme/testbubble/jot-header.tpl b/view/theme/testbubble/jot-header.tpl index 79f489e786..9c0037f7f2 100644 --- a/view/theme/testbubble/jot-header.tpl +++ b/view/theme/testbubble/jot-header.tpl @@ -14,9 +14,9 @@ function initEditor(cb) { $("#profile-jot-text").css({ 'height': 200, 'color': '#000' }); $(".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 }} @@ -53,9 +53,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, @@ -133,9 +133,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(); @@ -315,7 +315,7 @@ function initEditor(cb) { var bordercolor = $("input").css("border-color"); $.get('filer/', function(data){ - $.fancybox(data); + $.colorbox({html:data}); $("#id_term").keypress(function(){ $(this).css("border-color",bordercolor); }) @@ -333,7 +333,7 @@ function initEditor(cb) { if(timer) clearTimeout(timer); timer = setTimeout(NavUpdate,3000); liking = 1; - $.fancybox.close(); + $.colorbox.close(); } else { $("#id_term").css("border-color","#FF0000"); }