From 18bbba4fa7b00e0940cb4679899e32007cba71bf Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 14 Jan 2016 17:08:19 +0530 Subject: [PATCH] [fix] hide text editor file input using visibility: hidden. Fixes frappe/erpnext#4615 --- frappe/public/js/frappe/ui/editor.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frappe/public/js/frappe/ui/editor.js b/frappe/public/js/frappe/ui/editor.js index b716edec55..e413cc0c4e 100644 --- a/frappe/public/js/frappe/ui/editor.js +++ b/frappe/public/js/frappe/ui/editor.js @@ -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 });