diff --git a/form/form_button.php b/form/form_button.php
index d661867..43e5ffc 100644
--- a/form/form_button.php
+++ b/form/form_button.php
@@ -53,8 +53,17 @@
}
};//class UIButton
- function create_js_button($text,$js_func)
+ //function create_js_button($text,$js_func,$style)
+ function create_js_button()
{
- echo '';
+ $text=func_get_arg(0);
+ $js_func=func_get_arg(1);
+
+ if(func_num_args()>2)
+ $style=func_get_arg(2);
+ else
+ $style="primary";
+
+ echo '';
}
?>