[fix] hide text editor file input using visibility: hidden. Fixes frappe/erpnext#4615

This commit is contained in:
Anand Doshi 2016-01-14 17:08:19 +05:30
parent 4e3485f616
commit 18bbba4fa7

View file

@ -237,9 +237,7 @@ bsEditorToolbar = Class.extend({
var me = this;
this.file_input = this.toolbar.find('input[type="file"]')
.css({
'opacity':0,
'position':'absolute',
'left':0,
'visibility': 'hidden',
'width':0,
'height':0
});