From a02e33dcb67b6656935e19b1a33a8d0a73f7f89e Mon Sep 17 00:00:00 2001 From: reger Date: Sun, 16 Feb 2014 02:26:11 +0100 Subject: [PATCH] add edit-link to PK field of table admin --- htroot/Tables_p.html | 2 +- htroot/Tables_p.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/htroot/Tables_p.html b/htroot/Tables_p.html index e86906371..2cf530956 100644 --- a/htroot/Tables_p.html +++ b/htroot/Tables_p.html @@ -85,7 +85,7 @@ document.write("
\ - #[pk]# + #[pk]# #{columns}# #[cell]# #{/columns}# diff --git a/htroot/Tables_p.java b/htroot/Tables_p.java index 3e3aa5c42..640f38352 100644 --- a/htroot/Tables_p.java +++ b/htroot/Tables_p.java @@ -172,6 +172,7 @@ public class Tables_p { prop.put("showtable_list_" + count + "_dark", ((dark) ? 1 : 0) ); dark=!dark; prop.put("showtable_list_" + count + "_pk", UTF8.String(row.getPK())); prop.put("showtable_list_" + count + "_count", count); + prop.put("showtable_list_" + count + "_table", table); // tablename for edit link for (int i = 0; i < columns.size(); i++) { cell = row.get(columns.get(i)); prop.putHTML("showtable_list_" + count + "_columns_" + i + "_cell", cell == null ? "" : UTF8.String(cell));