Fix file dialog
This commit is contained in:
parent
5a6e65d11b
commit
6686621b0b
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@
|
||||||
className: 'file-input',
|
className: 'file-input',
|
||||||
initialize: function(options) {
|
initialize: function(options) {
|
||||||
this.$input = this.$('input[type=file]');
|
this.$input = this.$('input[type=file]');
|
||||||
|
this.$input.click(function(e) {
|
||||||
|
e.stopPropagation();
|
||||||
|
});
|
||||||
this.thumb = new Whisper.AttachmentPreviewView();
|
this.thumb = new Whisper.AttachmentPreviewView();
|
||||||
this.$el.addClass('file-input');
|
this.$el.addClass('file-input');
|
||||||
this.window = options.window;
|
this.window = options.window;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue