From c3d933c729425223024a29c759a0ce6e7b63efc1 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 (cherry picked from commit 760babcf4c7573620cf3e03c0e0899282b6634b1) Signed-off-by: Chris Nighswonger --- .../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 ae43cbf9db..133a9ae0f4 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.39.5