svn commit: r1847351 - in /ofbiz/ofbiz-plugins/trunk/projectmgr/template: project/summary/NoteInfo.ftl survey/ListSurveys.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1847351 - in /ofbiz/ofbiz-plugins/trunk/projectmgr/template: project/summary/NoteInfo.ftl survey/ListSurveys.ftl

Deepak Dixit-5
Author: deepak
Date: Sat Nov 24 09:38:14 2018
New Revision: 1847351

URL: http://svn.apache.org/viewvc?rev=1847351&view=rev
Log:
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>
-              &nbsp;<a href="javascript:document.createnoteform.submit()" class="buttontext">${uiLabelMap.CommonSave}</a>
-            <#else>
-              &nbsp;<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>