Author: apatel
Date: Wed Nov 11 19:58:04 2009
New Revision: 835038

URL: http://svn.apache.org/viewvc?rev=835038&view=rev
Log:
Fixed type reported by Adam, also changed event from focus to onChange.

Modified:
    ofbiz/trunk/applications/accounting/widget/PaymentForms.xml

Modified: ofbiz/trunk/applications/accounting/widget/PaymentForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/PaymentForms.xml?rev=835038&r1=835037&r2=835038&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/PaymentForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/PaymentForms.xml Wed Nov 11 
19:58:04 2009
@@ -108,9 +108,9 @@
         </actions>
         <field name="statusId"><hidden value="PMNT_NOT_PAID"/></field>
         <field name="currencyUomId"><hidden 
value="${defaultOrganizationPartyCurrencyUomId}"/></field>
-        <field position="1" name="organizationPartyId" 
parameter-name="partyIdFrom" event="onFocus" 
action="javascript:(document.NewPaymentOut.action = 
'newPayment'),(document.NewPaymentOut.submit())">
+        <field position="1" name="organizationPartyId" 
parameter-name="partyIdFrom" event="onChange" 
action="javascript:(document.NewPaymentOut.action = 
'newPayment'),(document.NewPaymentOut.submit())">
             <drop-down allow-empty="false" 
no-current-selected-key="${defaultOrganizationPartyId}">
-                <option key="${parameters.partryIdFrom}" 
description="${partyGroupName}"/>
+                <option key="${parameters.partyIdFrom}" 
description="${partyGroupName}"/>
                 <entity-options description="${groupName}" 
entity-name="PartyAcctgPrefAndGroup" key-field-name="partyId">
                     <entity-order-by field-name="groupName"/>
                 </entity-options>


Reply via email to