mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
- fix_set_onclick was not called, if one navigated to a widget with the arrows
- onclick of a button was not reset, when a button was converted to a box
This commit is contained in:
parent
5d763bd11e
commit
db148b55bc
@ -527,6 +527,7 @@
|
|||||||
{
|
{
|
||||||
if (!is_array($widget[$n])) $widget[$n] = $n == 1 ? $old : soetemplate::empty_cell();
|
if (!is_array($widget[$n])) $widget[$n] = $n == 1 ? $old : soetemplate::empty_cell();
|
||||||
}
|
}
|
||||||
|
unset($widget['onclick']); // not valid for a box
|
||||||
}
|
}
|
||||||
return; // no change necessary, eg. between different box-types
|
return; // no change necessary, eg. between different box-types
|
||||||
}
|
}
|
||||||
@ -1132,6 +1133,7 @@
|
|||||||
case 'goto':
|
case 'goto':
|
||||||
case 'goto2':
|
case 'goto2':
|
||||||
$content['cell'] = $widget;
|
$content['cell'] = $widget;
|
||||||
|
$this->fix_set_onclick($widget,$content['cell'],true);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '':
|
case '':
|
||||||
|
Loading…
Reference in New Issue
Block a user