mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +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";
|
echo '<script src="../styles/'.$this->theme.'/application.js"></script>'."\n";
|
||||||
if($this->params['enablemenutasks'] && isset($this->params['user']) && $this->params['user']) {
|
if($this->params['enablemenutasks'] && isset($this->params['user']) && $this->params['user']) {
|
||||||
$this->addFooterJS('checkTasks();');
|
$this->addFooterJS('checkTasks();');
|
||||||
|
}
|
||||||
|
if($this->params['enabledropfolderlist'] && isset($this->params['user']) && $this->params['user']) {
|
||||||
$this->addFooterJS('updateDropFolder();');
|
$this->addFooterJS('updateDropFolder();');
|
||||||
}
|
}
|
||||||
if($this->footerjs) {
|
if($this->footerjs) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user