bugfix
This commit is contained in:
parent
8815a903b8
commit
f5787f3f21
@ -525,7 +525,6 @@ bricks.UiFile = class extends bricks.VBox {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
if (files.length == 0) return;
|
if (files.length == 0) return;
|
||||||
consoles.log('dragin files=', files)
|
|
||||||
if (this.opts.multiple){
|
if (this.opts.multiple){
|
||||||
this.value = files;
|
this.value = files;
|
||||||
this.set_input_file(files);
|
this.set_input_file(files);
|
||||||
@ -663,7 +662,8 @@ bricks.UiVideo =class extends bricks.UiFile {
|
|||||||
this.dispatch('changed', this.getValue());
|
this.dispatch('changed', this.getValue());
|
||||||
}
|
}
|
||||||
show_video(event){
|
show_video(event){
|
||||||
var params = event.params[this.name];
|
var params = this.value;
|
||||||
|
console.log('params=', params);
|
||||||
if (params instanceof File){
|
if (params instanceof File){
|
||||||
params = [ params ];
|
params = [ params ];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user