You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/07/29 23:23:26 UTC

ambari git commit: AMBARI-17965. Threshold slider for dashboard widgets is not working in Firefox (alexantonenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk 40e2680f3 -> 4b34366e3


AMBARI-17965. Threshold slider for dashboard widgets is not working in Firefox (alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/4b34366e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4b34366e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4b34366e

Branch: refs/heads/trunk
Commit: 4b34366e3d0d5c0cee071a87579209442c319131
Parents: 40e2680
Author: Alex Antonenko <hi...@gmail.com>
Authored: Sat Jul 30 02:10:12 2016 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Sat Jul 30 02:22:51 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/views/main/dashboard/widget.js | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4b34366e/ambari-web/app/views/main/dashboard/widget.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widget.js b/ambari-web/app/views/main/dashboard/widget.js
index 6d83151..a66e0b2 100644
--- a/ambari-web/app/views/main/dashboard/widget.js
+++ b/ambari-web/app/views/main/dashboard/widget.js
@@ -320,10 +320,6 @@ App.DashboardWidgetView = Em.View.extend({
         rv = parseFloat(RegExp.$1); // IE version 1-10
       }
     }
-    var isFirefox = typeof InstallTrigger !== 'undefined';   // Firefox 1.0+
-    if (isFirefox) {
-      return -2;
-    }
     return rv;
   },