[OFBIZ-7154] UI improvement, made question field read-only as not being edited with SurveyQuestionAppl and corrected button labels for Survey Question Create/Update form.

Thanks Swapnil M Mane for reporting the issue, thanks Vaibhav Jain for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746779 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pranay Pandey
2016-06-04 05:48:55 +00:00
parent ef4c54a577
commit 90850d787f
2 changed files with 2 additions and 2 deletions
@@ -63,7 +63,7 @@ under the License.
<td>${questionType.get("description",locale)}</td>
<td>${(questionCat.description)!}</td>
<td>${surveyQuestionAndAppl.description!}</td>
<td><input type="text" name="question" size="30" value="${surveyQuestionAndAppl.question!?html}" />
<td>${surveyQuestionAndAppl.question!}</td>
<td>
<select name="surveyPageSeqId">
<#if surveyQuestionAndAppl.surveyPageSeqId?has_content>
@@ -205,8 +205,8 @@ under the License.
</drop-down>
</field>
<field use-when="surveyQuestion!=null" name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field use-when="surveyQuestion!=null" name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="CreateSurveyQuestionCategory" type="single" target="createSurveyQuestionCategory" title=""
header-row-style="header-row" default-table-style="basic-table">