Author: deepak
Date: Sun Aug 12 08:52:51 2018 New Revision: 1837892 URL: http://svn.apache.org/viewvc?rev=1837892&view=rev Log: Improved: Use input type=submit for form submission (OFBIZ-10482) Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/template/ap/invoices/CommissionRun.ftl ofbiz/ofbiz-framework/trunk/applications/accounting/template/ar/invoice/ListInvoices.ftl ofbiz/ofbiz-framework/trunk/applications/accounting/template/ar/payment/BatchPayments.ftl ofbiz/ofbiz-framework/trunk/applications/accounting/template/finaccounttrans/FinAccountTrans.ftl ofbiz/ofbiz-framework/trunk/applications/accounting/template/payment/DepositWithdrawPayments.ftl ofbiz/ofbiz-framework/trunk/applications/content/template/cms/CMSSites.ftl ofbiz/ofbiz-framework/trunk/applications/content/template/content/ContentSearchOptions.ftl ofbiz/ofbiz-framework/trunk/applications/content/template/content/EditContentTree.ftl ofbiz/ofbiz-framework/trunk/applications/content/template/survey/EditSurveyQuestions.ftl ofbiz/ofbiz-framework/trunk/applications/content/template/survey/SurveyOptions.ftl ofbiz/ofbiz-framework/trunk/applications/humanres/template/FindEmployee.ftl ofbiz/ofbiz-framework/trunk/applications/manufacturing/template/bom/EditProductBom.ftl ofbiz/ofbiz-framework/trunk/applications/party/template/party/AddCheckForParty.ftl ofbiz/ofbiz-framework/trunk/applications/party/template/party/AddressMatchMap.ftl ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditContactMech.ftl ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditCreditCard.ftl ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditEftAccount.ftl ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditGiftCard.ftl ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditShoppingList.ftl ofbiz/ofbiz-framework/trunk/applications/party/template/party/profileblocks/ContentList.ftl ofbiz/ofbiz-framework/trunk/applications/product/template/find/KeywordSearchBox.ftl ofbiz/ofbiz-framework/trunk/applications/product/template/shipment/PackOrder.ftl ofbiz/ofbiz-framework/trunk/applications/workeffort/template/find/WorkEffortSearchOptions.ftl Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/template/ap/invoices/CommissionRun.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/template/ap/invoices/CommissionRun.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/accounting/template/ap/invoices/CommissionRun.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/accounting/template/ap/invoices/CommissionRun.ftl Sun Aug 12 08:52:51 2018 @@ -82,7 +82,7 @@ function enableSubmitButton() { </#if> <div align="right"> <select name="serviceName" id="serviceName" onchange="javascript:setServiceName(this);"> - <option value="">${uiLabelMap.AccountingSelectAction}</options> + <option value="">${uiLabelMap.AccountingSelectAction}</option> <option value="processCommissionRun">${uiLabelMap.AccountingCommissionRun}</option> </select> <input id="submitButton" type="button" onclick="javascript:runAction();" value="${uiLabelMap.CommonRun}" disabled="disabled" /> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/template/ar/invoice/ListInvoices.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/template/ar/invoice/ListInvoices.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/accounting/template/ar/invoice/ListInvoices.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/accounting/template/ar/invoice/ListInvoices.ftl Sun Aug 12 08:52:51 2018 @@ -132,7 +132,7 @@ under the License. <option value="massInvoicesToWriteoff">${uiLabelMap.AccountingInvoiceStatusToWriteoff}</option> <option value="massInvoicesToCancel">${uiLabelMap.AccountingInvoiceStatusToCancelled}</option> </select> - <input id="submitButton" type="button" onclick="javascript:jQuery('#listInvoices').submit();" value="${uiLabelMap.CommonRun}" disabled="disabled" /> + <input id="submitButton" type="submit" value="${uiLabelMap.CommonRun}" disabled="disabled" /> <input type="hidden" name="organizationPartyId" value="${defaultOrganizationPartyId}"/> <input type="hidden" name="partyIdFrom" value="${parameters.partyIdFrom!}"/> <input type="hidden" name="statusId" id="statusId" value="${parameters.statusId!}"/> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/template/ar/payment/BatchPayments.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/template/ar/payment/BatchPayments.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/accounting/template/ar/payment/BatchPayments.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/accounting/template/ar/payment/BatchPayments.ftl Sun Aug 12 08:52:51 2018 @@ -130,7 +130,7 @@ function setServiceName(selection) { </div> <div class="align-float"> <select name="serviceName" id="serviceName" onchange="javascript:setServiceName(this);"> - <option value="">${uiLabelMap.AccountingSelectAction}</options> + <option value="">${uiLabelMap.AccountingSelectAction}</option> <option value="<@ofbizUrl>createPaymentBatch</@ofbizUrl>" id="processBatchPayment">${uiLabelMap.AccountingCreateBatch}</option> <option value="massPaymentsToNotPaid">${uiLabelMap.AccountingPaymentStatusToNotPaid}</option> <option value="massPaymentsToReceived">${uiLabelMap.AccountingInvoiceStatusToReceived}</option> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/template/finaccounttrans/FinAccountTrans.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/template/finaccounttrans/FinAccountTrans.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/accounting/template/finaccounttrans/FinAccountTrans.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/accounting/template/finaccounttrans/FinAccountTrans.ftl Sun Aug 12 08:52:51 2018 @@ -106,12 +106,12 @@ function getFinAccountTransRunningTotalA <option value="${glReconciliation.glReconciliationId}">${glReconciliation.glReconciliationName!}[[${glReconciliation.glReconciliationId}] [${glReconciliation.reconciledDate!}] [${glReconciliation.reconciledBalance!}]]</option> </#list> </select> - <input id="submitButton" type="submit" onclick="javascript:document.selectAllForm.submit();" value="${uiLabelMap.AccountingAssignToReconciliation}" disabled="disabled" /> + <input id="submitButton" type="submit" value="${uiLabelMap.AccountingAssignToReconciliation}" disabled="disabled" /> <#else> <span class="tooltip">${uiLabelMap.AccountingNoGlReconciliationExists} <a href="<@ofbizUrl>EditFinAccountReconciliations?finAccountId=${parameters.finAccountId!}</@ofbizUrl>">${uiLabelMap.CommonClickHere}</a></span> </#if> <#else> - <input id="submitButton" type="submit" onclick="javascript:document.selectAllForm.submit();" value="${uiLabelMap.AccountingReconcile}" disabled="disabled" /> + <input id="submitButton" type="submit" value="${uiLabelMap.AccountingReconcile}" disabled="disabled" /> </#if> </div> </#if> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/template/payment/DepositWithdrawPayments.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/template/payment/DepositWithdrawPayments.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/accounting/template/payment/DepositWithdrawPayments.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/accounting/template/payment/DepositWithdrawPayments.ftl Sun Aug 12 08:52:51 2018 @@ -113,7 +113,7 @@ function getPaymentRunningTotal() { <input type="text" size='25' id="paymentGroupName" name='paymentGroupName' /> <label><span class="label">${uiLabelMap.AccountingGroupInOneTransaction}</span> <input type="checkbox" name="groupInOneTransaction" value="Y" checked="checked" /></label> - <input id="submitButton" type="button" onclick="javascript:document.depositWithdrawPaymentsForm.submit();" value="${uiLabelMap.AccountingDepositWithdraw}" disabled="disabled"/> + <input id="submitButton" type="submit" value="${uiLabelMap.AccountingDepositWithdraw}" disabled="disabled"/> </div> </table> <#else> Modified: ofbiz/ofbiz-framework/trunk/applications/content/template/cms/CMSSites.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/template/cms/CMSSites.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/content/template/cms/CMSSites.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/content/template/cms/CMSSites.ftl Sun Aug 12 08:52:51 2018 @@ -48,7 +48,7 @@ function call_fieldlookup4(rootForumId, </div> </td> <td valign="middle" align="right"> - <a href="javascript:document.userform.submit()" class="submenutextright">Refresh</a> + <input type="submit" value="Refresh"/> </td> </tr> </table> Modified: ofbiz/ofbiz-framework/trunk/applications/content/template/content/ContentSearchOptions.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/template/content/ContentSearchOptions.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/content/template/content/ContentSearchOptions.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/content/template/content/ContentSearchOptions.ftl Sun Aug 12 08:52:51 2018 @@ -129,7 +129,7 @@ under the License. <tr> <td colspan="2" align="center"> <div> - <a href="javascript:document.advToKeyWordSearchForm.submit()" class="buttontext">${uiLabelMap.CommonFind}</a> + <input type="submit" value="${uiLabelMap.CommonFind}"/> </div> </td> </tr> Modified: ofbiz/ofbiz-framework/trunk/applications/content/template/content/EditContentTree.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/template/content/EditContentTree.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/content/template/content/EditContentTree.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/content/template/content/EditContentTree.ftl Sun Aug 12 08:52:51 2018 @@ -22,12 +22,12 @@ <div class="h3">${uiLabelMap.ContentRenameFolder}</div> ${uiLabelMap.ContentRenameFolder} : ${content.contentName}<br /> <input type="text" name="contentName" value="${content.contentName}" /> - <br/ <a class="buttontext" href="javascript:document.editContentTree.submit();">${uiLabelMap.ContentRenameFolder}</a><a class="buttontext" href="<@ofbizUrl>navigateContent</@ofbizUrl>">${uiLabelMap.CommonCancel}</a> + <br/> <input type="submit" value="${uiLabelMap.ContentRenameFolder}" /><a class="buttontext" href="<@ofbizUrl>navigateContent</@ofbizUrl>">${uiLabelMap.CommonCancel}</a> <#else> <div class="h3">${uiLabelMap.ContentNewFolder}</div> ${uiLabelMap.ContentRoot} : ${content.contentName} <input type="text" name="contentName" /> - <br /><a class="buttontext" href="javascript:document.editContentTree.submit();">${uiLabelMap.CommonCreate}</a><a class="buttontext" href="<@ofbizUrl>navigateContent</@ofbizUrl>">${uiLabelMap.CommonCancel}</a> + <br /><input type="submit" value="${uiLabelMap.CommonCreate}"/><a class="buttontext" href="<@ofbizUrl>navigateContent</@ofbizUrl>">${uiLabelMap.CommonCancel}</a> </#if> <input type="hidden" name="contentId" value="${parameters.contentId}"/> <input type="hidden" name="contentAssocTypeId" value="TREE_CHILD"/> Modified: ofbiz/ofbiz-framework/trunk/applications/content/template/survey/EditSurveyQuestions.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/template/survey/EditSurveyQuestions.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/content/template/survey/EditSurveyQuestions.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/content/template/survey/EditSurveyQuestions.ftl Sun Aug 12 08:52:51 2018 @@ -121,7 +121,7 @@ under the License. <input type="hidden" name="surveyId" value="${surveyQuestionAndAppl.surveyId}" /> <input type="hidden" name="surveyQuestionId" value="${surveyQuestionAndAppl.surveyQuestionId}" /> <input type="hidden" name="fromDate" value="${surveyQuestionAndAppl.fromDate}" /> - <a href="javascript:document.getElementById('removeSurveyQuestion_${surveyQuestionAndAppl.surveyQuestionId}').submit();"" class="buttontext">${uiLabelMap.CommonRemove}</a> + <input type="submit" value="${uiLabelMap.CommonRemove}"/> </form> </td> </tr> Modified: ofbiz/ofbiz-framework/trunk/applications/content/template/survey/SurveyOptions.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/template/survey/SurveyOptions.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/content/template/survey/SurveyOptions.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/content/template/survey/SurveyOptions.ftl Sun Aug 12 08:52:51 2018 @@ -43,7 +43,7 @@ under the License. <input type="hidden" name="surveyId" value="${requestParameters.surveyId}" /> <input type="hidden" name="surveyQuestionId" value="${option.surveyQuestionId}" /> <input type="hidden" name="surveyOptionSeqId" value="${option.surveyOptionSeqId}" /> - <a href="javascript:document.getElementById('deleteSurveyQuestionOption_${option_index}').submit();"" class="buttontext">${uiLabelMap.CommonRemove}</a> + <input type="submit" value="${uiLabelMap.CommonRemove}" /> </form> </td> </tr> Modified: ofbiz/ofbiz-framework/trunk/applications/humanres/template/FindEmployee.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/humanres/template/FindEmployee.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/humanres/template/FindEmployee.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/humanres/template/FindEmployee.ftl Sun Aug 12 08:52:51 2018 @@ -113,7 +113,7 @@ under the License. <tr><td colspan="3"><hr /></td></tr> <tr align="center"> <td> </td> - <td><input type="submit" value="${uiLabelMap.PartyLookupParty}" onclick="javascript:document.lookupparty.submit();"/> + <td><input type="submit" value="${uiLabelMap.PartyLookupParty}"/> <a href="<@ofbizUrl>findEmployees?roleTypeId=EMPLOYEE&hideFields=Y&lookupFlag=Y</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonShowAllRecords}</a> </td> </tr> Modified: ofbiz/ofbiz-framework/trunk/applications/manufacturing/template/bom/EditProductBom.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/manufacturing/template/bom/EditProductBom.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/manufacturing/template/bom/EditProductBom.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/manufacturing/template/bom/EditProductBom.ftl Sun Aug 12 08:52:51 2018 @@ -64,7 +64,7 @@ function lookupBom() { <td> </td> <td> <@htmlTemplate.lookupField value="${productId!}" formName="searchform" name="productId" id="productId" fieldFormName="LookupProduct"/> - <span><a href="javascript:document.searchform.submit();" class="buttontext">${uiLabelMap.ManufacturingShowBOMAssocs}</a></span> + <span><input type="submit" value="${uiLabelMap.ManufacturingShowBOMAssocs}"/></span> </td> </tr> <tr> Modified: ofbiz/ofbiz-framework/trunk/applications/party/template/party/AddCheckForParty.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/template/party/AddCheckForParty.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/party/template/party/AddCheckForParty.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/party/template/party/AddCheckForParty.ftl Sun Aug 12 08:52:51 2018 @@ -158,10 +158,10 @@ under the License. </td> </tr> </table> + <div class="button-bar"> + <a href="<@ofbizUrl>${donePage}?partyId=${partyId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonCancelDone}</a> + <input type="submit" value="${uiLabelMap.CommonSave}"/> + </div> </form> - <div class="button-bar"> - <a href="<@ofbizUrl>${donePage}?partyId=${partyId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonCancelDone}</a> - <a href="javascript:document.addcheckform.submit()" class="smallSubmit">${uiLabelMap.CommonSave}</a> - </div> </div> </div> \ No newline at end of file Modified: ofbiz/ofbiz-framework/trunk/applications/party/template/party/AddressMatchMap.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/template/party/AddressMatchMap.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/party/template/party/AddressMatchMap.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/party/template/party/AddressMatchMap.ftl Sun Aug 12 08:52:51 2018 @@ -42,7 +42,7 @@ under the License. </tr> <tr> <td></td> - <td><a href="javascript:document.addaddrmap.submit()" class="smallSubmit">${uiLabelMap.CommonCreate}</a></td> + <td><input type="submit" value="${uiLabelMap.CommonCreate}"/></td> </tr> </table> </form> Modified: ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditContactMech.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditContactMech.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditContactMech.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditContactMech.ftl Sun Aug 12 08:52:51 2018 @@ -31,7 +31,7 @@ under the License. <option value="${contactMechType.contactMechTypeId}">${contactMechType.get("description",locale)}</option> </#list> </select> - <a href="javascript:document.createcontactmechform.submit()" class="smallSubmit">${uiLabelMap.CommonCreate}</a> + <input type="submit" value="${uiLabelMap.CommonCreate}"/> </td> </tr> </table> Modified: ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditCreditCard.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditCreditCard.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditCreditCard.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditCreditCard.ftl Sun Aug 12 08:52:51 2018 @@ -111,11 +111,11 @@ under the License. </td> </tr> </table> + <div class="button-bar"> + <a href="<@ofbizUrl>${donePage}?partyId=${partyId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonCancelDone}</a> + <input type="submit" value="${uiLabelMap.CommonSave}"/> + </div> </form> - <div class="button-bar"> - <a href="<@ofbizUrl>${donePage}?partyId=${partyId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonCancelDone}</a> - <a href="javascript:document.editcreditcardform.submit()" class="smallSubmit">${uiLabelMap.CommonSave}</a> - </div> </div> </div> <!-- end editcreditcard.ftl --> \ No newline at end of file Modified: ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditEftAccount.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditEftAccount.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditEftAccount.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditEftAccount.ftl Sun Aug 12 08:52:51 2018 @@ -159,11 +159,11 @@ under the License. </td> </tr> </table> + <div class="button-bar"> + <a href="<@ofbizUrl>backHome</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonCancelDone}</a> + <input type="submit" value="${uiLabelMap.CommonSave}"/> + </div> </form> - <div class="button-bar"> - <a href="<@ofbizUrl>backHome</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonCancelDone}</a> - <a href="javascript:document.editeftaccountform.submit()" class="smallSubmit">${uiLabelMap.CommonSave}</a> - </div> </div> </div> <!-- end EditEftAccount.ftl --> \ No newline at end of file Modified: ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditGiftCard.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditGiftCard.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditGiftCard.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditGiftCard.ftl Sun Aug 12 08:52:51 2018 @@ -94,11 +94,11 @@ under the License. </td> </tr> </table> + <div class="button-bar"> + <a href="<@ofbizUrl>${donePage}?partyId=${partyId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonCancelDone}</a> + <input type="submit" value="${uiLabelMap.CommonSave}"/> + </div> </form> - <div class="button-bar"> - <a href="<@ofbizUrl>${donePage}?partyId=${partyId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonCancelDone}</a> - <a href="javascript:document.editgiftcardform.submit()" class="smallSubmit">${uiLabelMap.CommonSave}</a> - </div> </div> </div> <!-- end EditGiftCard.ftl --> Modified: ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditShoppingList.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditShoppingList.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditShoppingList.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/party/template/party/EditShoppingList.ftl Sun Aug 12 08:52:51 2018 @@ -25,7 +25,7 @@ under the License. <li> <form id="createEmptyShoppingList" action="<@ofbizUrl>createEmptyShoppingList</@ofbizUrl>" method="post"> <input type="hidden" name="partyId" value="${partyId!}" /> - <a href="javascript:document.getElementById('createEmptyShoppingList').submit();" class="buttontext">${uiLabelMap.CommonCreateNew}</a> + <input type="submit" value="${uiLabelMap.CommonCreateNew}"/> </form> </li> </ul> @@ -44,7 +44,7 @@ under the License. </#list> </select> <input type="hidden" name="partyId" value="${partyId!}" /> - <a href="javascript:document.selectShoppingList.submit();" class="smallSubmit">${uiLabelMap.CommonEdit}</a> + <input type="submit" value="${uiLabelMap.CommonEdit}"/> </form> <#else> ${uiLabelMap.PartyNoShoppingListsParty}. @@ -62,8 +62,8 @@ under the License. <form method="post" name="createQuoteFromShoppingListForm" action="/ordermgr/control/createQuoteFromShoppingList"> <input type= "hidden" name= "applyStorePromotions" value= "N"/> <input type= "hidden" name= "shoppingListId" value= "${shoppingList.shoppingListId!}"/> + <input type="submit" value="${uiLabelMap.PartyCreateNewQuote}"/> </form> - <a href="javascript:document.createQuoteFromShoppingListForm.submit()">${uiLabelMap.PartyCreateNewQuote}</a> </li> <li><a href="/ordermgr/control/createCustRequestFromShoppingList?shoppingListId=${shoppingList.shoppingListId!}">${uiLabelMap.PartyCreateNewCustRequest}</a></li> <li><a href="/ordermgr/control/loadCartFromShoppingList?shoppingListId=${shoppingList.shoppingListId!}">${uiLabelMap.OrderNewOrder}</a></li> Modified: ofbiz/ofbiz-framework/trunk/applications/party/template/party/profileblocks/ContentList.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/template/party/profileblocks/ContentList.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/party/template/party/profileblocks/ContentList.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/party/template/party/profileblocks/ContentList.ftl Sun Aug 12 08:52:51 2018 @@ -43,7 +43,7 @@ under the License. <input type="hidden" name="partyId" value="${pContent.partyId}" /> <input type="hidden" name="partyContentTypeId" value="${pContent.partyContentTypeId}" /> <input type="hidden" name="fromDate" value="${pContent.fromDate}" /> - <a href="javascript:document.removePartyContent_${pContent_index}.submit()">${uiLabelMap.CommonRemove}</a> + <input type="submit" value="${uiLabelMap.CommonRemove}"/> </form> </td> </tr> Modified: ofbiz/ofbiz-framework/trunk/applications/product/template/find/KeywordSearchBox.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/template/find/KeywordSearchBox.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/product/template/find/KeywordSearchBox.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/product/template/find/KeywordSearchBox.ftl Sun Aug 12 08:52:51 2018 @@ -62,7 +62,7 @@ under the License. <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID!}" formName="advancedsearchform" name="SEARCH_CATEGORY_ID" id="searchCategoryId" fieldFormName="LookupProductCategory"/> </div> <div> - <a href="javascript:document.getElementById('advancedSearchForm').submit()" class="buttontext">${uiLabelMap.ProductAdvancedSearch}</a> + <input type="submit" value="${uiLabelMap.ProductAdvancedSearch}"/> </div> </fieldset> </form> Modified: ofbiz/ofbiz-framework/trunk/applications/product/template/shipment/PackOrder.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/template/shipment/PackOrder.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/product/template/shipment/PackOrder.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/product/template/shipment/PackOrder.ftl Sun Aug 12 08:52:51 2018 @@ -408,7 +408,7 @@ under the License. <#if "true" == forceComplete?default("false")> <#assign buttonName = "${uiLabelMap.ProductCompleteForce}"> </#if> - <input type="button" value="${buttonName}" onclick="javascript:document.completePackForm.submit();"/> + <input type="submit" value="${buttonName}"/> </div> </td> </tr> Modified: ofbiz/ofbiz-framework/trunk/applications/workeffort/template/find/WorkEffortSearchOptions.ftl URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/workeffort/template/find/WorkEffortSearchOptions.ftl?rev=1837892&r1=1837891&r2=1837892&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/workeffort/template/find/WorkEffortSearchOptions.ftl (original) +++ ofbiz/ofbiz-framework/trunk/applications/workeffort/template/find/WorkEffortSearchOptions.ftl Sun Aug 12 08:52:51 2018 @@ -153,7 +153,7 @@ under the License. <tr> <td colspan="2" align="center"> <div> - <a href="javascript:document.advToKeyWordSearchForm.submit()" class="buttontext">${uiLabelMap.CommonFind}</a> + <input type="submit" value="${uiLabelMap.CommonFind}"/> </div> </td> </tr> |
Free forum by Nabble | Edit this page |