X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdispy%2Fjot-header.tpl;h=dabe8bb3d0821d0f67ee0705a1a71ae52fac35e7;hb=ea4515aca9318429a0b859eb8b45584b382928b3;hp=92eccf74012dcafc20ac1e89c2a6a76e53c69fd8;hpb=bdd275474044152a5d9a33ea6b8a8071b931d27e;p=friendica.git diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl index 92eccf7401..dabe8bb3d0 100644 --- a/view/theme/dispy/jot-header.tpl +++ b/view/theme/dispy/jot-header.tpl @@ -9,6 +9,7 @@ function initEditor(cb) { if(plaintext == 'none') { $("#profile-jot-text-loading").hide(); $("#profile-jot-text").css({ 'height': 200, 'color': '#000' }); + $("#profile-jot-text").contact_autocomplete(baseurl+"/acl"); editor = true; $("a#jot-perms-icon").fancybox({ 'transitionIn' : 'elastic', @@ -23,13 +24,14 @@ function initEditor(cb) { mode : "specific_textareas", editor_selector: $editselect, auto_focus: "profile-jot-text", - plugins : "bbcode,paste,fullscreen,autoresize", - theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen", + plugins : "bbcode,paste,fullscreen,autoresize,inlinepopups,contextmenu,style", + theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen,charmap", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "center", theme_advanced_blockformats : "blockquote,code", + gecko_spellcheck : true, paste_text_sticky : true, entity_encoding : "raw", add_unload_trigger : false, @@ -40,6 +42,7 @@ function initEditor(cb) { convert_urls: false, content_css: "$baseurl/view/custom_tinymce.css", theme_advanced_path : false, + file_browser_callback : "fcFileBrowser", setup : function(ed) { cPopup = null; ed.onKeyDown.add(function(ed,e) { @@ -95,7 +98,6 @@ function initEditor(cb) { $(".jothidden").show(); if (typeof cb!="undefined") cb(); }); - } }); editor = true; @@ -152,8 +154,6 @@ function enableOnUser(){ } } ); - - }); function deleteCheckedItems() { @@ -296,7 +296,6 @@ function enableOnUser(){ } - function jotClearLocation() { $('#jot-coord').val(''); $('#profile-nolocation-wrapper').hide(); @@ -343,6 +342,4 @@ function enableOnUser(){ }); $('#profile-jot-text').keyup(); } - -