diff --git a/module/release/css/common.css b/module/release/css/common.css
index 23f35440a3..80955c7c72 100755
--- a/module/release/css/common.css
+++ b/module/release/css/common.css
@@ -1,7 +1,3 @@
.contentDiv { height:190px; overflow-y:auto; margin-bottom: 10px!important}
.contentDiv .panel-heading {line-height: 14px;}
-.green {color:green}
-input[type=checkbox].ml-10px{margin-left:7px;}
-.pdl-8px{padding-left:8px;}
-
.checkbox-primary{display:inline-block;}
diff --git a/module/release/css/view.css b/module/release/css/view.css
index 2055583f78..1c3a2789c3 100644
--- a/module/release/css/view.css
+++ b/module/release/css/view.css
@@ -1,15 +1,10 @@
-.tabs{position:relative;}
-.tabs .nav-tabs>li{margin-bottom:0px;}
-.tabs .tab-content .tab-pane #queryBox{margin:0px; border-left:1px solid #ddd; border-right:1px solid #ddd;}
-.tabs .tab-content .tab-pane #queryBox form{padding-left:0px;}
.checkbox.btn{margin-top:0px}
-#unlinkStoryList, #unlinkBugList, #unlinkLeftBugList{border:1px solid #ddd;}
-
-.table-footer .text {line-height:30px;}
-.table-footer .btn-toolbar {margin-right: 10px;}
-
#releaseInfo > div {padding-top: 15px;}
-#queryBox form {margin: 0px !important;}
-#moreOrLite {right: 0px !important;}
+.linkBox #queryBox .search-form .form-actions {padding-bottom: 5px;}
+.linkBox .table-header {padding: 8px 15px; border-bottom: 1px solid #cbd0db;}
+#unlinkStoryList, #unlinkBugList, #unlinkLeftBugList {border-top: 1px solid #cbd0db;}
+
+#tabsNav .nav-tabs > li.pull-right {margin-right: 120px; margin-top: -5px}
+#tabsNav .nav-tabs > li.active + li.pull-right {margin-right: 0;}
\ No newline at end of file
diff --git a/module/release/js/view.js b/module/release/js/view.js
index e82d814e21..7ceb844687 100644
--- a/module/release/js/view.js
+++ b/module/release/js/view.js
@@ -5,15 +5,14 @@ function showLink(releaseID, type, param)
if(type == 'leftBug') param += '&type=leftBug';
$.get(createLink('release', method, 'releaseID=' + releaseID + param), function(data)
{
- var obj = type == 'story' ? '.tab-pane#stories .linkBox' : (type == 'leftBug' ? '.tab-pane#leftBugs .linkBox' : '.tab-pane#bugs .linkBox');
- $(obj).html(data);
- $('#' + type + 'List').closest('form').hide();
-
- var formID = type == 'story' ? '#unlinkedStoriesForm' : (type == 'leftBug' ? '#unlinkedLeftBugsForm' : '#unlinkedBugsForm');
-
- $('[data-ride="table"]').table();
+ var $pane = $(type == 'story' ? '#stories' : (type == 'leftBug' ? '#leftBugs' : '#bugs'));
+ $pane.find('.main-table').hide();
+ var $linkBox = $pane.find('.linkBox').html(data).removeClass('hidden');
+ $linkBox.find('[data-ride="table"]').table();
+ $.toggleQueryBox(true, $linkBox.find('#queryBox'));
});
}
+
$(function()
{
if(link == 'true') showLink(releaseID, type, param);
diff --git a/module/release/view/linkbug.html.php b/module/release/view/linkbug.html.php
index 469176f936..147ee83160 100644
--- a/module/release/view/linkbug.html.php
+++ b/module/release/view/linkbug.html.php
@@ -17,8 +17,8 @@ $formID = $type == 'leftBug' ? 'unlinkedLeftBugsForm' : 'unlinkedBugsForm';
?>
'>