mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +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)
|
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);
|
parent::loadSettings($sx_task_settings);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -335,6 +335,10 @@
|
|||||||
} else if(submitLink.hasClass('reload-tree')) {
|
} else if(submitLink.hasClass('reload-tree')) {
|
||||||
reloadTree('bases:bases', true);
|
reloadTree('bases:bases', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ("undefined" !== typeof datas.msg) {
|
||||||
|
alert(datas.msg);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
alert(datas.msg);
|
alert(datas.msg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user