*Fix bug#21488.
This commit is contained in:
@@ -38,5 +38,3 @@ a.removeModule:hover {color: red;}
|
||||
#batchUnlinkStoryTip .table td {border-bottom: 0px;}
|
||||
#batchUnlinkStoryTip .table th:first-child {width: 460px;}
|
||||
#mainMenu .dropdown-menu>li>a>.icon {top: 4px;}
|
||||
|
||||
#myProduct {border-bottom: 1px solid #ddd;}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
.c-pri {overflow: hidden;}
|
||||
#mainMenu .btn-toolbar .dropdown-menu li a.btn {text-align: left;}
|
||||
.c-estimate {text-align: right;}
|
||||
#closed {width: 49px; height: 25px; line-height:25px; background-color: #ddd; color: #3c495c; text-align: center; margin-left:15px; border-radius: 2px;}
|
||||
#gray-line { height: 1px; margin-left:10px; background-color: #ddd;}
|
||||
|
||||
@@ -135,6 +135,8 @@ $closedProductsHtml .= '</ul>';
|
||||
<a class='pull-right toggle-right-col not-list-item'><?php echo $lang->product->closed?><i class='icon icon-angle-right'></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="closed" hidden>已关闭</div>
|
||||
<div id="gray-line"></div>
|
||||
<div class="table-col col-right productTree">
|
||||
<div class='list-group products'><?php echo $closedProductsHtml;?></div>
|
||||
</div>
|
||||
@@ -170,6 +172,14 @@ $(function()
|
||||
$('li.has-list div.hide-in-search').removeClass('hidden');
|
||||
$('.nav-tabs li.active').find('span').show();
|
||||
}
|
||||
if($('.form-control.search-input').val().length > 0)
|
||||
{
|
||||
$('#closed').attr("hidden",false);
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#closed').attr("hidden",true);
|
||||
}
|
||||
});
|
||||
|
||||
$('#swapper #dropMenu').on('onSearchComplete', function(event, value)
|
||||
|
||||
Reference in New Issue
Block a user