From a6c9e3bb305c70d280db50b46a74ee8b9b977d15 Mon Sep 17 00:00:00 2001 From: Burton Rheutan Date: Sun, 16 Jun 2019 09:26:15 -0500 Subject: [PATCH] Remove extra customize button The customize button was redundant to the custom tab This could lead to confusion with the user experience, so the additional button has been removed. Signed-off-by: Burton Rheutan --- gateway/assets/script/bootstrap.js | 4 ---- gateway/assets/templates/newfunction.html | 3 --- 2 files changed, 7 deletions(-) diff --git a/gateway/assets/script/bootstrap.js b/gateway/assets/script/bootstrap.js index 89e4d5e2..caccfc40 100644 --- a/gateway/assets/script/bootstrap.js +++ b/gateway/assets/script/bootstrap.js @@ -282,10 +282,6 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$interval', '$f $scope.selectedFunc = func; } - - $scope.customizeStoreFunc = function() { - $scope.selectedTabIdx = CUSTOM_DEPLOY_TAB_INDEX; - } $scope.onTabSelect = function(idx) { newFuncTabIdx = idx; diff --git a/gateway/assets/templates/newfunction.html b/gateway/assets/templates/newfunction.html index 6880a33b..e654c8a6 100644 --- a/gateway/assets/templates/newfunction.html +++ b/gateway/assets/templates/newfunction.html @@ -162,9 +162,6 @@ Close Dialog - - Customize - Deploy