mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
autocomplete contacts nickname while writting in a comment box.
This commit is contained in:
parent
afce790e56
commit
bcb672e7ff
5 changed files with 187 additions and 5 deletions
|
@ -78,8 +78,6 @@
|
|||
menu.toggle();
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
|
||||
/* notifications template */
|
||||
var notifications_tpl= unescape($("#nav-notifications-template[rel=template]").html());
|
||||
|
@ -163,7 +161,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
function NavUpdate() {
|
||||
|
@ -245,6 +245,8 @@
|
|||
commentBusy = false;
|
||||
$('body').css('cursor', 'auto');
|
||||
}
|
||||
/* autocomplete @nicknames */
|
||||
$(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -445,6 +447,7 @@ function setupFieldRichtext(){
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* sprintf in javascript
|
||||
* "{0} and {1}".format('zero','uno');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue