diff --git a/pages/php-ofc-library/ofc_bar_glass.php b/pages/php-ofc-library/ofc_bar_glass.php index 2fd445fe26..671bc227a8 100644 --- a/pages/php-ofc-library/ofc_bar_glass.php +++ b/pages/php-ofc-library/ofc_bar_glass.php @@ -47,6 +47,12 @@ class bar_value { $this->tip = $tip; } + + function on_click( $event ) + { + $tmp = 'on-click'; + $this->$tmp = $event; + } } class bar extends bar_base