From 4157612f5716778f1e1ca07ffbcf97245eac5f85 Mon Sep 17 00:00:00 2001 From: nac26 Date: Fri, 4 Feb 2011 21:23:25 +0000 Subject: [PATCH] NIHVIVO-2016 Removed customFormWithAutocomplete css and js from dateTimeValue and dateTimeInterval custom forms. Was causing the submit button to be hidden on page load. --- webapp/web/edit/forms/dateTimeIntervalForm.jsp | 6 ++---- webapp/web/edit/forms/dateTimeValueForm.jsp | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/webapp/web/edit/forms/dateTimeIntervalForm.jsp b/webapp/web/edit/forms/dateTimeIntervalForm.jsp index 8661c95a2..d3a8b4642 100644 --- a/webapp/web/edit/forms/dateTimeIntervalForm.jsp +++ b/webapp/web/edit/forms/dateTimeIntervalForm.jsp @@ -239,14 +239,12 @@ } List customJs = new ArrayList(Arrays.asList(JavaScript.JQUERY_UI.path(), - JavaScript.CUSTOM_FORM_UTILS.path(), - "/edit/forms/js/customFormWithAutocomplete.js" + JavaScript.CUSTOM_FORM_UTILS.path() )); request.setAttribute("customJs", customJs); List customCss = new ArrayList(Arrays.asList(Css.JQUERY_UI.path(), - Css.CUSTOM_FORM.path(), - "/edit/forms/css/customFormWithAutocomplete.css" + Css.CUSTOM_FORM.path() )); request.setAttribute("customCss", customCss); diff --git a/webapp/web/edit/forms/dateTimeValueForm.jsp b/webapp/web/edit/forms/dateTimeValueForm.jsp index d712a496b..68bf72232 100644 --- a/webapp/web/edit/forms/dateTimeValueForm.jsp +++ b/webapp/web/edit/forms/dateTimeValueForm.jsp @@ -165,14 +165,12 @@ } List customJs = new ArrayList(Arrays.asList(JavaScript.JQUERY_UI.path(), - JavaScript.CUSTOM_FORM_UTILS.path(), - "/edit/forms/js/customFormWithAutocomplete.js" + JavaScript.CUSTOM_FORM_UTILS.path() )); request.setAttribute("customJs", customJs); List customCss = new ArrayList(Arrays.asList(Css.JQUERY_UI.path(), - Css.CUSTOM_FORM.path(), - "/edit/forms/css/customFormWithAutocomplete.css" + Css.CUSTOM_FORM.path() )); request.setAttribute("customCss", customCss);