|
Author: jleroux
Date: Sun Oct 3 13:11:13 2010 New Revision: 1003959 URL: http://svn.apache.org/viewvc?rev=1003959&view=rev Log: Replaces last <a href="javascript:$ by <a href="javascript:document.getElementById Modified: ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/changepassword.ftl ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/newcustomer.ftl ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/ManageAddress.ftl Modified: ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/changepassword.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/changepassword.ftl?rev=1003959&r1=1003958&r2=1003959&view=diff ============================================================================== --- ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/changepassword.ftl (original) +++ ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/changepassword.ftl Sun Oct 3 13:11:13 2010 @@ -19,7 +19,7 @@ under the License. <div class="screenlet"> <h2>${uiLabelMap.PartyChangePassword}</h2> <a href="<@ofbizUrl>authview/${donePage}</@ofbizUrl>" class="button">[${uiLabelMap.CommonGoBack}]</a> - <a href="javascript:$('changepasswordform').submit()" class="button">[${uiLabelMap.CommonSave}]</a> + <a href="javascript:document.getElementById('changepasswordform').submit()" class="button">[${uiLabelMap.CommonSave}]</a> <div class="screenlet-body"> <form id="changepasswordform" method="post" action="<@ofbizUrl>updatePassword/${donePage}</@ofbizUrl>"> <fieldset> @@ -43,6 +43,6 @@ under the License. </fieldset> </form> <a href="<@ofbizUrl>authview/${donePage}</@ofbizUrl>" class="button">[${uiLabelMap.CommonGoBack}]</a> - <a href="javascript:$('changepasswordform').submit()" class="button">[${uiLabelMap.CommonSave}]</a> + <a href="javascript:document.getElementById('changepasswordform').submit()" class="button">[${uiLabelMap.CommonSave}]</a> </div> </div> \ No newline at end of file Modified: ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/newcustomer.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/newcustomer.ftl?rev=1003959&r1=1003958&r2=1003959&view=diff ============================================================================== --- ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/newcustomer.ftl (original) +++ ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/newcustomer.ftl Sun Oct 3 13:11:13 2010 @@ -390,7 +390,7 @@ class name of "button". No other class n button actions. -------------------------------------------------------------------------------> <div class="buttons"> - <a href="javascript:$('newuserform').submit()">${uiLabelMap.CommonSave}</a> + <a href="javascript:document.getElementById('newuserform').submit()">${uiLabelMap.CommonSave}</a> <a href="<@ofbizUrl>checkLogin/main</@ofbizUrl>" class="reset">${uiLabelMap.CommonBack}</a> </div> Modified: ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/ManageAddress.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/ManageAddress.ftl?rev=1003959&r1=1003958&r2=1003959&view=diff ============================================================================== --- ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/ManageAddress.ftl (original) +++ ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/profile/ManageAddress.ftl Sun Oct 3 13:11:13 2010 @@ -222,7 +222,7 @@ under the License. <form id="deletePostalAddress_${contactMech.contactMechId}" method= "post" action= "<@ofbizUrl>deletePostalAddress</@ofbizUrl>"> <fieldset> <input type= "hidden" name= "contactMechId" value= "${contactMech.contactMechId}" /> - <a href="javascript:$('deletePostalAddress_${contactMech.contactMechId}').submit()" class='button'>${uiLabelMap.CommonDelete}</a> + <a href="javascript:document.getElementById('deletePostalAddress_${contactMech.contactMechId}').submit()" class='button'>${uiLabelMap.CommonDelete}</a> </fieldset> </form> </div> |
| Free forum by Nabble | Edit this page |
