add a button with javascript

This commit is contained in:
sparkyx 2007-08-15 21:30:11 +00:00
parent 4128f86e9f
commit 6589cfc4ec

View file

@ -558,7 +558,7 @@ class widget {
$r='<input type="BUTTON" name="'.$this->name.'"'.
' id="'.$this->name.'"'.
' value="'.$this->label.'"'.
' onClick="'.$this->js."'>";
' onClick="'.$this->js.'">';
return $r;
}
return "INVALID WIDGET $this->type ";