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

View file

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