forked from 0x2620/oxjs
Ox.UI.elements -> Ox.elements
This commit is contained in:
parent
2d8d88b218
commit
0b5f8f9492
5 changed files with 11 additions and 10 deletions
|
|
@ -206,7 +206,7 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
var id = data.id;
|
||||
Ox.InsertHTMLDialog(Ox.extend({
|
||||
callback: function(data) {
|
||||
Ox.UI.elements[id]
|
||||
Ox.elements[id]
|
||||
.value(data.value)
|
||||
.focusInput(data.position)
|
||||
.triggerEvent('change', data.value);
|
||||
|
|
|
|||
|
|
@ -1274,7 +1274,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
if (Ox.isUndefined(data)) {
|
||||
// doubleclick on small timeline
|
||||
data = getAnnotation();
|
||||
} else if (!data.id && Ox.UI.elements[that.oxid]) {
|
||||
} else if (!data.id && Ox.elements[that.oxid]) {
|
||||
// focus only if in the dom
|
||||
that.gainFocus();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue