CC-3340 : Remove "Search" tab from library view

This commit is contained in:
Naomi Aro 2012-02-22 21:56:55 +01:00
parent bb49914294
commit c89451f880
3 changed files with 8 additions and 13 deletions

View File

@ -22,7 +22,7 @@
<div class="wrapper">
<!--Set to z-index 254 to make it lower than the top-panel and the ZFDebug info bar, but higher than the side-playlist-->
<div id="library_content" class="tabs ui-widget ui-widget-content block-shadow alpha-block padded" style="z-index:254"><?php echo $this->layout()->library ?></div>
<div id="library_content" class="ui-widget ui-widget-content block-shadow alpha-block padded" style="z-index:254"><?php echo $this->layout()->library ?></div>
<div id="side_playlist" class="ui-widget ui-widget-content block-shadow omega-block"><?php echo $this->layout()->spl ?></div>
</div>
</body>

View File

@ -1,7 +1,3 @@
<ul>
<li><a href="#simpleSearch">Search</a></li>
</ul>
<div id="simpleSearch">
<div id="import_status" style="visibility:hidden">File import in progress...</div>
<table id="library_display" cellpadding="0" cellspacing="0" class="datatable"></table>
</div>
<div id="import_status" style="display:none">File import in progress...</div>
<table id="library_display" cellpadding="0" cellspacing="0" class="datatable"></table>

View File

@ -83,9 +83,10 @@ function checkImportStatus(){
$.getJSON('/Preference/is-import-in-progress', function(data){
var div = $('#import_status');
if (data == true){
div.css('visibility', 'visible');
}else{
div.css('visibility', 'hidden');
div.show();
}
else{
div.hide();
}
});
}
@ -214,8 +215,6 @@ function addQtipToSCIcons(){
$(document).ready(function() {
var oTable;
$('.tabs').tabs();
oTable = $('#library_display').dataTable( {
"aoColumns": [