-var plaintext = 'none';//window.editSelect;
-//var ispublic = window.isPublic;
-
-function initEditor(cb) {
- if (editor==false) {
- if (plaintext == 'none') {
- $("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
- $("#profile-jot-text").editor_autocomplete(baseurl+"/acl");
- editor = true;
-
- $("a#jot-perms-icon, a#settings-default-perms-menu").click(function () {
- var parent = $("#profile-jot-acl-wrapper").parent();
- if (parent.css('display') == 'none') {
- parent.show();
- } else {
- parent.hide();
- }