onClick is valid for a box

This commit is contained in:
Nathan Gray 2013-01-09 16:12:17 +00:00
parent 068c53c8aa
commit afdfac19f7

View File

@ -575,7 +575,6 @@ class editor
{ {
if (!is_array($widget[$n])) $widget[$n] = $n == 1 ? $old : etemplate::empty_cell(); if (!is_array($widget[$n])) $widget[$n] = $n == 1 ? $old : etemplate::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
} }