From 786dacf52d790f980d09512698eb3fff0c43684a Mon Sep 17 00:00:00 2001 From: Yagami Date: Tue, 14 Feb 2023 15:05:22 +0800 Subject: [PATCH] * Fix bug #31524. --- module/productplan/js/view.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/module/productplan/js/view.js b/module/productplan/js/view.js index 8c55c57ffe..1658a7a071 100644 --- a/module/productplan/js/view.js +++ b/module/productplan/js/view.js @@ -69,13 +69,6 @@ $(function() infoShowed = true; } - if(href !== '') - { - type = href == '#stories' ? 'story' : (href == '#bugs' ? 'bug' : 'planInfo'); - var viewLink = createLink('productplan', 'view', 'planID=' + planID + '&type=' + type + (typeof(param) == 'undefined' ? '' : param) + (typeof(orderBy) == 'undefined' ? '' : "&orderBy=" + orderBy)); - if(type == 'planInfo') viewLink = createLink('productplan', 'view', 'planID=' + planID + '&type=' + type); - self.location.href = viewLink; - } }); $('#storyList').on('sort.sortable', function(e, data)