From 760babcf4c7573620cf3e03c0e0899282b6634b1 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 7 Apr 2011 10:56:12 +0000 Subject: [PATCH] Bug 5949: Hide 'Edit record' link when creating new order The 'Edit record' link only makes sense, when you want to modify an order after creating it. Before there is no biblionumber the link can link to. Patch adds check for existing biblionumber so link is only shown when there is an existing record to be edited. Signed-off-by: Marcel de Rooy Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl index 2cdc1ff581..ca9dcdf1a6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl @@ -160,7 +160,9 @@ $(document).ready(function()
Catalog details - "> Edit record + + "> Edit record + -- 2.20.1