forked from 0x2620/oxjs
fix Ox.Edidable textarea height, dont add title to links in parseHTML
This commit is contained in:
parent
f7755eb303
commit
7475ef0124
3 changed files with 21 additions and 16 deletions
|
|
@ -397,9 +397,14 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
if (self.widget && self.options.items.length) {
|
||||
self.$annotations.find('.OxEditableElement').each(function() {
|
||||
var $element = $(this);
|
||||
if (!Ox.getObjectById(
|
||||
self.options.items, $element.data('id')
|
||||
)[self.options.type]) {
|
||||
// We don't want to catch an eventual placeholder,
|
||||
// which is an EditableElement without .data('id')
|
||||
if (
|
||||
$element.data('id')
|
||||
&& !Ox.getObjectById(
|
||||
self.options.items, $element.data('id')
|
||||
)[self.options.type]
|
||||
) {
|
||||
$element.addClass('OxWarning');
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue