From f84b2422c2f3fab85b7726b6148cdcd86bf94415 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 29 Jul 2016 12:45:41 +0200 Subject: [PATCH] * all apps: Fix vfs upload button does not work in link tab --- api/js/etemplate/et2_widget_file.js | 2 +- api/templates/default/etemplate2.css | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/js/etemplate/et2_widget_file.js b/api/js/etemplate/et2_widget_file.js index b4361d8767..00786f8d79 100644 --- a/api/js/etemplate/et2_widget_file.js +++ b/api/js/etemplate/et2_widget_file.js @@ -499,7 +499,7 @@ var et2_file = (function(){ "use strict"; return et2_inputWidget.extend( //Add uploading indicator and bind hover handler on it jQuery(this.node).find('span').addClass('totalProgress_loader'); - jQuery(this.node).find('input').hover(function(){ + jQuery(this.node).find('span.et2_file_span').hover(function(){ jQuery('.progress_dropDown_fileList').show(); }); //Bind click handler to dismiss the dropdown while uploading diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index bd09cd9616..3fe078fa5f 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -656,8 +656,7 @@ span.et2_file_span{ margin-top:0; } div.et2_file input.et2_file_upload{ - opacity:0; - position: absolute; + display:none; } /** * Autocomplete - used in link widget