dynamic title input box - via fabrixxm

This commit is contained in:
friendica 2012-01-04 18:03:09 -08:00
parent b0c3dc00b9
commit 47edaf9ad7
14 changed files with 102 additions and 40 deletions

View file

@ -8,6 +8,7 @@ var textlen = 0;
function initEditor(cb) {
if (editor==false) {
$("#profile-jot-text-loading").show();
$("#jot-title-desc").show();
tinyMCE.init({
theme : "advanced",
mode : "specific_textareas",
@ -100,6 +101,12 @@ function initEditor(cb) {
$(this).val("");
initEditor();
});
$("#jot-title-desc").click(function() {
$("#jot-title-desc").hide();
$("#jot-title").show();
});
var uploader = new window.AjaxUpload(
'wall-image-upload',
{ action: 'wall_upload/$nickname',