X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=js%2Fshow_history.js;h=6985c69415066ea9cf3bd8a06c62cd04cd172000;hb=33a45e0e838cdc9cc1af614e5e98b0ddfa64faec;hp=55912590e1d4f680e4f99c52f13e3e0ae3339fff;hpb=6b063f3c88f7ca16e83a19759441a05e0ff84a47;p=kivitendo-erp.git diff --git a/js/show_history.js b/js/show_history.js index 55912590e..6985c6941 100644 --- a/js/show_history.js +++ b/js/show_history.js @@ -10,12 +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); }