summaryrefslogtreecommitdiff
path: root/modules/organize/views/organize_edit.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/organize/views/organize_edit.html.php')
-rw-r--r--modules/organize/views/organize_edit.html.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/organize/views/organize_edit.html.php b/modules/organize/views/organize_edit.html.php
index c0fc43e5..1adf290f 100644
--- a/modules/organize/views/organize_edit.html.php
+++ b/modules/organize/views/organize_edit.html.php
@@ -5,6 +5,10 @@
<? endforeach?>
</ul>
-<? foreach ($panes as $idx => $pane): ?>
- <div id="pane-<?= $idx ?>" class="gOrganizeEditPane"><?= $pane["content"] ?></div>
-<? endforeach?>
+<? if (count($panes) > 0): ?>
+ <? foreach ($panes as $idx => $pane): ?>
+ <div id="pane-<?= $idx ?>" class="gOrganizeEditPane ui-tabs-hide"><?= $pane["content"] ?></div>
+ <? endforeach?>
+<? else: ?>
+<div class="gWarning"><?= t("No Edit pages apply to the selected items") ?></div>
+<? endif ?> \ No newline at end of file