Fixed the lost id_group in the items on visualmap. Ticket #1586

This commit is contained in:
mdtrooper 2014-11-28 12:02:27 +01:00
parent 62db9425f4
commit 33b1393a6c
1 changed files with 8 additions and 2 deletions

View File

@ -451,8 +451,14 @@ switch ($action) {
// Don't change the label because only change the positions
unset($values['label']);
// Don't change background color in graphs when move
if ($type == 'module_graph') {
unset($values['image']);
switch ($type) {
case 'group_item':
unset($values['id_group']);
break;
case 'module_graph':
unset($values['image']);
break;
}
}