mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 04:31:32 +00:00
- show message when clipboard is empty
This commit is contained in:
parent
3d822f2cff
commit
6ff71bdc09
|
@ -1011,6 +1011,9 @@ class LetoDMS_Bootstrap_Style extends LetoDMS_View_Common {
|
|||
echo "<div class=\"well\" ondragover=\"allowDrop(event)\" ondrop=\"onAddClipboard(event)\">\n";
|
||||
$clipboard = $this->params['session']->getClipboard();
|
||||
// print_r($clipboard);
|
||||
if(!$clipboard['docs'] && !$clipboard['folders']) {
|
||||
print "<div class=\"alert\">Drag icon of folder or document here!</div>";
|
||||
} else {
|
||||
print "<table class=\"table\">";
|
||||
if($clipboard['folders']) {
|
||||
//echo "<tr><th colspan=\"3\">Folders</th></tr>\n";
|
||||
|
@ -1072,6 +1075,7 @@ class LetoDMS_Bootstrap_Style extends LetoDMS_View_Common {
|
|||
}
|
||||
}
|
||||
print "</table>";
|
||||
}
|
||||
echo "</div>\n";
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user