From 067ad81914f0b0c7726473f9425644cd9600c250 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Fri, 14 Mar 2008 20:23:45 +0000 Subject: [PATCH] Javascript function for conversions to/from user formatted numeric input fields. --- includes/ui/ui_view.inc | 60 +++++++++++++++++++++++++++++++++-------- 1 file changed, 49 insertions(+), 11 deletions(-) diff --git a/includes/ui/ui_view.inc b/includes/ui/ui_view.inc index 639aea0b..84eb6fb3 100644 --- a/includes/ui/ui_view.inc +++ b/includes/ui/ui_view.inc @@ -1066,28 +1066,66 @@ document.write(\"
\"); "; return $js; } +// +// Javascript conversions to/from user numeric format. +// +function get_js_user_num() { + global $thoseps, $decseps; + $ts = $thoseps[user_tho_sep()]; + $ds = $decseps[user_dec_sep()]; + + $js = + ""; + + return $js; +} function get_js_allocate() { - return ""; } -- 2.30.2