Das Javascript-MenĂ¼ durch eine andere Implementation ersetzt, die auch unter dem...
[kivitendo-erp.git] / js / show_history.js
index bf8471e..5591259 100644 (file)
@@ -11,14 +11,11 @@ function centerParms(width,height,extra) {
 }
 
 function set_history_window(id) {
-  var parm = centerParms(600,500) + ",width=600,height=500,status=yes,scrollbars=yes";
+  var parm = centerParms(800,500) + ",width=800,height=500,status=yes,scrollbars=yes";
   var name = "History";
   url = "common.pl?" +
     "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) + "&"
+    "input_name=" + encodeURIComponent(id) + "&"
   window.open(url, "_new_generic", parm);
-}
\ No newline at end of file
+}