X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/5d5572546c7e33b5f573227f23973ec7668bafe2..835e3fd9a0114f9aec38af6c98f69a66cec61bdc:/js/show_history.js diff --git a/js/show_history.js b/js/show_history.js index e0cfec45e..6985c6941 100644 --- a/js/show_history.js +++ b/js/show_history.js @@ -10,13 +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&" + "longdescription=" + "&" + + "trans_id_type=" + encodeURIComponent(trans_id_type) + "&" + "input_name=" + encodeURIComponent(id) + "&" window.open(url, "_new_generic", parm); }