summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/shared/header/headerController.js
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2017-11-24 06:29:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-24 06:29:35 +0000
commit3e69f8623c87f0d1d673d702d3516e688daf9a0d (patch)
treee0b9bccc2854855f1279a54c9d433a3744f5972f /testapi/opnfv_testapi/ui/shared/header/headerController.js
parent368428217fd182ab7a939b69c5abd7adc6bc30eb (diff)
parentc3f531f408638a3831ad63b93ae38995c5e396b2 (diff)
Merge "clear web pages"
Diffstat (limited to 'testapi/opnfv_testapi/ui/shared/header/headerController.js')
-rw-r--r--testapi/opnfv_testapi/ui/shared/header/headerController.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/testapi/opnfv_testapi/ui/shared/header/headerController.js b/testapi/opnfv_testapi/ui/shared/header/headerController.js
index 0a14a41..c998255 100644
--- a/testapi/opnfv_testapi/ui/shared/header/headerController.js
+++ b/testapi/opnfv_testapi/ui/shared/header/headerController.js
@@ -30,7 +30,6 @@
var ctrl = this;
ctrl.isActive = isActive;
- ctrl.isCatalogActive = isCatalogActive;
/** Whether the Navbar is collapsed for small displays. */
ctrl.navbarCollapsed = true;
@@ -50,14 +49,5 @@
}
return false;
}
-
- /** This determines the active state for the catalog dropdown. Type
- * parameter should be passed in to specify if the catalog is the
- * public or user one.
- */
- function isCatalogActive(type) {
- return ctrl.isActive('/' + type + '_vendors')
- || ctrl.isActive('/' + type + '_products');
- }
}
})();