From 1b953c8cd64d30c720cd7574ebbfde237b8c5c8b Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Fri, 3 Apr 2015 17:20:11 -0400 Subject: [PATCH] custom trigger: remove subdir rewrite --- static/js/directives/ui/trigger-setup-custom.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/static/js/directives/ui/trigger-setup-custom.js b/static/js/directives/ui/trigger-setup-custom.js index 60c57e2ea..b14899efd 100644 --- a/static/js/directives/ui/trigger-setup-custom.js +++ b/static/js/directives/ui/trigger-setup-custom.js @@ -35,11 +35,6 @@ angular.module('quay').directive('triggerSetupCustom', function() { }); $scope.$watch('state.subdir', function(subdir) { - // Code elsewhere assumes root is empty string. - if (subdir === '/') { - subdir = ''; - } - $scope.trigger['config']['subdir'] = subdir; $scope.trigger.$ready = subdir != null; });