allow lang attribute in annotations

This commit is contained in:
j 2013-12-26 16:43:03 +00:00
parent 57994e657d
commit e57fa72b47
2 changed files with 3 additions and 0 deletions

View file

@ -27,6 +27,7 @@ Ox.ArrayEditable = function(options, self) {
clickLink: null,
editable: true,
getSortValue: null,
globalAttributes: [],
highlight: '',
itemName: 'item',
items: [],
@ -163,6 +164,7 @@ Ox.ArrayEditable = function(options, self) {
return value || ' '
},
*/
globalAttributes: self.options.globalAttributes,
highlight: self.options.highlight,
maxHeight: self.options.maxHeight,
submitOnBlur: self.options.submitOnBlur,

View file

@ -266,6 +266,7 @@ Ox.AnnotationFolder = function(options, self) {
return Ox.stripTags(value);
}
: null,
globalAttributes: ['lang'],
highlight: self.options.highlight,
items: self.annotations,
placeholder: getPlaceholder(),