mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
set noinit=true when running dropfolder task
This commit is contained in:
parent
b65322ab54
commit
951f9bfefb
|
@ -215,7 +215,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$this->addFooterJS('SeedDMSTask.run();');
|
||||
}
|
||||
if($this->params['enabledropfolderlist'] && isset($this->params['user']) && $this->params['user']) {
|
||||
$this->addFooterJS("SeedDMSTask.add({name: 'dropfolder', interval: 30, func: function(){\$('#menu-dropfolder > div.ajax').trigger('update', {folderid: seeddms_folder});}});");
|
||||
$this->addFooterJS("SeedDMSTask.add({name: 'dropfolder', interval: 30, func: function(){\$('#menu-dropfolder > div.ajax').trigger('update', {folderid: seeddms_folder, noinit: true});}});");
|
||||
}
|
||||
if($this->footerjs) {
|
||||
$jscode = "$(document).ready(function () {\n";
|
||||
|
|
|
@ -220,7 +220,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$this->addFooterJS('SeedDMSTask.run();');
|
||||
}
|
||||
if($this->params['enabledropfolderlist'] && isset($this->params['user']) && $this->params['user']) {
|
||||
$this->addFooterJS("SeedDMSTask.add({name: 'dropfolder', interval: 30, func: function(){\$('#menu-dropfolder > div.ajax').trigger('update', {folderid: seeddms_folder});}});");
|
||||
$this->addFooterJS("SeedDMSTask.add({name: 'dropfolder', interval: 30, func: function(){\$('#menu-dropfolder > div.ajax').trigger('update', {folderid: seeddms_folder, noinit: true});}});");
|
||||
}
|
||||
if($this->footerjs) {
|
||||
$jscode = "$(document).ready(function () {\n";
|
||||
|
|
Loading…
Reference in New Issue
Block a user