X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a298090f348eb69e9e7ff91421e4842b01ae705a..5981dd661e770fe22d4bf2298846097c8096327f:/js/show_history.js diff --git a/js/show_history.js b/js/show_history.js index 9d95dfacc..6985c6941 100644 --- a/js/show_history.js +++ b/js/show_history.js @@ -10,15 +10,14 @@ function centerParms(width,height,extra) { return string; } -function set_history_window(id) { +function set_history_window(id,trans_id_type) { var parm = centerParms(800,500) + ",width=800,height=500,status=yes,scrollbars=yes"; var name = "History"; url = "common.pl?" + + "INPUT_ENCODING=UTF-8&" + "action=show_history&" + - "login=" + encodeURIComponent(document.getElementsByName("login")[0].value)+ "&"+ - "password=" + encodeURIComponent(document.getElementsByName("password")[0].value) + "&" + - "path=" + encodeURIComponent(document.getElementsByName("path")[0].value) + "&" + "longdescription=" + "&" + - "input_name=" + escape(id) + "&" + "trans_id_type=" + encodeURIComponent(trans_id_type) + "&" + + "input_name=" + encodeURIComponent(id) + "&" window.open(url, "_new_generic", parm); -} \ No newline at end of file +}