Browse Source

AMBARI-976. Hook HDFS/MapReduce/HBase/Host graphs to backend API. (Srimanth Gunturi via yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/AMBARI-666@1418910 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 years ago
parent
commit
7a1bcf778c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/utils/helper.js

+ 1 - 1
ambari-web/app/utils/helper.js

@@ -112,7 +112,7 @@ Number.prototype.countPercentageRatio = function (maxValue) {
 App.formatUrl = function (urlTemplate, substitutes, testUrl) {
 App.formatUrl = function (urlTemplate, substitutes, testUrl) {
   var formatted = urlTemplate;
   var formatted = urlTemplate;
   if (urlTemplate) {
   if (urlTemplate) {
-    if (!App.testMode) {
+    if (App.testMode) {
       var toSeconds = Math.round(new Date().getTime() / 1000);
       var toSeconds = Math.round(new Date().getTime() / 1000);
       var allSubstitutes = {
       var allSubstitutes = {
         toSeconds: toSeconds,
         toSeconds: toSeconds,