From 23c5d5ae94604630b3e43202bd18920d147dfb32 Mon Sep 17 00:00:00 2001 From: tworrall Date: Tue, 29 Nov 2011 15:08:26 +0000 Subject: [PATCH] NIHVIVO-3364 edit mode now working correctly --- .../templates/freemarker/edit/forms/addEditWebpageForm.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/productMods/templates/freemarker/edit/forms/addEditWebpageForm.ftl b/productMods/templates/freemarker/edit/forms/addEditWebpageForm.ftl index 6ece4921..fdd824cd 100644 --- a/productMods/templates/freemarker/edit/forms/addEditWebpageForm.ftl +++ b/productMods/templates/freemarker/edit/forms/addEditWebpageForm.ftl @@ -15,7 +15,7 @@ <#assign anchor = lvf.getFormFieldValue(editSubmission, editConfiguration, "anchor") /> <#assign newRank = lvf.getFormFieldValue(editSubmission, editConfiguration, "newRank") /> -<#if editConfiguration.object?has_content> +<#if url?has_content> <#assign editMode = "edit"> <#else> <#assign editMode = "add">