mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix empty of collection
This commit is contained in:
@@ -43,7 +43,7 @@ class task_period_emptyColl extends task_appboxAbstract
|
||||
|
||||
protected function loadSettings(SimpleXMLElement $sx_task_settings)
|
||||
{
|
||||
$this->base_id = (int) $sx_task_settings->base_id;
|
||||
$this->base_id = (int) $sx_task_settings->bas_id;
|
||||
parent::loadSettings($sx_task_settings);
|
||||
}
|
||||
|
||||
|
||||
@@ -335,6 +335,10 @@
|
||||
} else if(submitLink.hasClass('reload-tree')) {
|
||||
reloadTree('bases:bases', true);
|
||||
}
|
||||
|
||||
if ("undefined" !== typeof datas.msg) {
|
||||
alert(datas.msg);
|
||||
}
|
||||
} else {
|
||||
alert(datas.msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user