mirror of
https://github.com/friendica/friendica
synced 2024-11-10 08:22:57 +00:00
8f20e2054b
- Move Core\ACL::contactAutocomplete to Module\Search\Acl - Rename module path to /search/acl
37 lines
885 B
Smarty
37 lines
885 B
Smarty
<script language="javascript" type="text/javascript">
|
|
$("#prvmail-text").editor_autocomplete(baseurl + '/search/acl');
|
|
</script>
|
|
<script>
|
|
|
|
function jotGetLink() {
|
|
reply = prompt("{{$linkurl}}");
|
|
if(reply && reply.length) {
|
|
$('#profile-rotator').show();
|
|
$.get('parse_url?url=' + reply, function(data) {
|
|
addeditortext(data);
|
|
$('#profile-rotator').hide();
|
|
});
|
|
}
|
|
}
|
|
|
|
function linkdropper(event) {
|
|
var linkFound = event.dataTransfer.types.contains("text/uri-list");
|
|
if(linkFound)
|
|
event.preventDefault();
|
|
}
|
|
|
|
function linkdrop(event) {
|
|
var reply = event.dataTransfer.getData("text/uri-list");
|
|
event.target.textContent = reply;
|
|
event.preventDefault();
|
|
if(reply && reply.length) {
|
|
$('#profile-rotator').show();
|
|
$.get('parse_url?url=' + reply, function(data) {
|
|
addeditortext(data);
|
|
$('#profile-rotator').hide();
|
|
});
|
|
}
|
|
}
|
|
|
|
</script>
|
|
|