From 59dbb88450f6ac98b8dc5fdda62d771f787443fe Mon Sep 17 00:00:00 2001 From: sparkyx Date: Thu, 13 Dec 2007 19:43:28 +0000 Subject: [PATCH] for submit_button: add javascript ability --- include/class_widget.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/class_widget.php b/include/class_widget.php index 2058fa7ee..3360af72b 100644 --- a/include/class_widget.php +++ b/include/class_widget.php @@ -625,8 +625,9 @@ class widget { function Submit ($p_name,$p_value) { return ''; } - static function submit_button ($p_name,$p_value) { - return ''; + static function submit_button ($p_name,$p_value,$p_javascript="") { + + return ''; } function Reset ($p_value) {