mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
add js for updateDropFolder only if drop folder list is enabled
This commit is contained in:
parent
1f8c5fe7c3
commit
849351e58b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user