Author: deepak
Date: Sat Nov 24 09:38:14 2018
New Revision: 1847351
URL:
http://svn.apache.org/viewvc?rev=1847351&view=revLog:
Improved: Use input type=submit for form submission
(OFBIZ-10482)
Modified:
ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/summary/NoteInfo.ftl
ofbiz/ofbiz-plugins/trunk/projectmgr/template/survey/ListSurveys.ftl
Modified: ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/summary/NoteInfo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/summary/NoteInfo.ftl?rev=1847351&r1=1847350&r2=1847351&view=diff==============================================================================
--- ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/summary/NoteInfo.ftl (original)
+++ ofbiz/ofbiz-plugins/trunk/projectmgr/template/project/summary/NoteInfo.ftl Sat Nov 24 09:38:14 2018
@@ -134,11 +134,7 @@ under the License.
<td/><td><i>${uiLabelMap.OrderInternalNoteMessage}</i></td>
</tr>
</table>
- <#if project?has_content>
- <a href="javascript:document.createnoteform.submit()" class="buttontext">${uiLabelMap.CommonSave}</a>
- <#else>
- <a href="javascript:document.createnoteform.submit()" class="buttontext">${uiLabelMap.CommonSave}</a>
- </#if>
+ <input type="submit" value="${uiLabelMap.CommonSave}"/>
</form>
</div>
</#if>
Modified: ofbiz/ofbiz-plugins/trunk/projectmgr/template/survey/ListSurveys.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/projectmgr/template/survey/ListSurveys.ftl?rev=1847351&r1=1847350&r2=1847351&view=diff==============================================================================
--- ofbiz/ofbiz-plugins/trunk/projectmgr/template/survey/ListSurveys.ftl (original)
+++ ofbiz/ofbiz-plugins/trunk/projectmgr/template/survey/ListSurveys.ftl Sat Nov 24 09:38:14 2018
@@ -58,7 +58,7 @@ under the License.
<input type="hidden" name="surveyId" value="${workEffortSurveyAppl.surveyId!}" />
<input type="hidden" name="workEffortId" value="${workEffortSurveyAppl.workEffortId!}" />
<input type="hidden" name="fromDate" value="${workEffortSurveyAppl.fromDate!}" />
- <a href="javascript:document.getElementById('deleteWorkEffortSurveyAppl_${workEffortSurveyAppl_index}').submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
+ <input type="submit" value="${uiLabelMap.CommonDelete}"/>
</form>
</td>
</#if>