From e57fa72b4774e1bbb4ace6c7d47ab81f65933bb2 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 26 Dec 2013 16:43:03 +0000 Subject: [PATCH] allow lang attribute in annotations --- source/Ox.UI/js/Form/ArrayEditable.js | 2 ++ source/Ox.UI/js/Video/AnnotationFolder.js | 1 + 2 files changed, 3 insertions(+) diff --git a/source/Ox.UI/js/Form/ArrayEditable.js b/source/Ox.UI/js/Form/ArrayEditable.js index 6c65d882..74cab983 100644 --- a/source/Ox.UI/js/Form/ArrayEditable.js +++ b/source/Ox.UI/js/Form/ArrayEditable.js @@ -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, diff --git a/source/Ox.UI/js/Video/AnnotationFolder.js b/source/Ox.UI/js/Video/AnnotationFolder.js index ee6509d5..eab4d462 100644 --- a/source/Ox.UI/js/Video/AnnotationFolder.js +++ b/source/Ox.UI/js/Video/AnnotationFolder.js @@ -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(),