mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
do not show table of documents if there are no documents
This commit is contained in:
parent
b0747e74f0
commit
99fbf808fd
|
@ -63,6 +63,7 @@ $(document).ready( function() {
|
|||
echo "</table>";
|
||||
|
||||
$documents = $selcat->getDocumentsByCategory(10);
|
||||
if($documents) {
|
||||
print "<table id=\"viewfolder-table\" class=\"table\">";
|
||||
print "<thead>\n<tr>\n";
|
||||
print "<th></th>\n";
|
||||
|
@ -76,6 +77,7 @@ $(document).ready( function() {
|
|||
}
|
||||
print "</tbody></table>";
|
||||
}
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function actionmenu() { /* {{{ */
|
||||
|
|
Loading…
Reference in New Issue
Block a user