- 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:
Ralf Becker 2005-05-20 12:01:15 +00:00
parent 5d763bd11e
commit db148b55bc

View File

@ -527,6 +527,7 @@
{
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
}
@ -1132,6 +1133,7 @@
case 'goto':
case 'goto2':
$content['cell'] = $widget;
$this->fix_set_onclick($widget,$content['cell'],true);
break;
case '':