do not show empty load/save dropdowns

This commit is contained in:
Ian Babrou committed 2013-10-29 12:41:28 +04:00
1 parent 67a1398608
commit b6b81ec833
2 files changed
+2 -5

No files matched your search

-3
View File
@@ -11,9 +11,6 @@ function (angular, _) {
$scope.loader = dashboard.current.loader;
$scope.init = function() {
$scope.advancedLoad = false;
$scope.advancedSave = false;
$scope.gist_pattern = /(^\d{5,}$)|(^[a-z0-9]{10,}$)|(gist.github.com(\/*.*)\/[a-z0-9]{5,}\/*$)/;
$scope.gist = $scope.gist || {};
$scope.elasticsearch = $scope.elasticsearch || {};