mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
fix #2713
This commit is contained in:
parent
4f20732e3c
commit
9ba985a688
@ -74,6 +74,14 @@ use yii\helpers\Url;
|
||||
// reset query count
|
||||
query.length = 0;
|
||||
}
|
||||
},
|
||||
beforeInsert: function(value, $li) {
|
||||
if ($li.data('item-data').link == undefined) {
|
||||
return "";
|
||||
}
|
||||
else {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}).atwho({
|
||||
|
@ -437,6 +437,14 @@ humhub.module('ui.richtext', function(module, require, $) {
|
||||
// reset query count
|
||||
query.length = 0;
|
||||
}
|
||||
},
|
||||
beforeInsert: function(value, $li) {
|
||||
if ($li.data('item-data').link == undefined) {
|
||||
return "";
|
||||
}
|
||||
else {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user