add js for updateDropFolder only if drop folder list is enabled

This commit is contained in:
Uwe Steinmann 2019-12-20 10:53:09 +01:00
parent 1f8c5fe7c3
commit 849351e58b

View File

@ -166,6 +166,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
echo '<script src="../styles/'.$this->theme.'/application.js"></script>'."\n";
if($this->params['enablemenutasks'] && isset($this->params['user']) && $this->params['user']) {
$this->addFooterJS('checkTasks();');
}
if($this->params['enabledropfolderlist'] && isset($this->params['user']) && $this->params['user']) {
$this->addFooterJS('updateDropFolder();');
}
if($this->footerjs) {