svn commit: r534047 - /ofbiz/trunk/applications/party/webapp/partymgr/party/findparty.ftl

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

svn commit: r534047 - /ofbiz/trunk/applications/party/webapp/partymgr/party/findparty.ftl

jonesde
Author: jonesde
Date: Tue May  1 05:52:22 2007
New Revision: 534047

URL: http://svn.apache.org/viewvc?view=rev&rev=534047
Log:
Made a small change so that the partyId and userLoginId will be treated as possible partial IDs and used for a search; left a comment in there about how to change it back with an onchange attribute

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/party/findparty.ftl

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/findparty.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/findparty.ftl?view=diff&rev=534047&r1=534046&r2=534047
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/findparty.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/findparty.ftl Tue May  1 05:52:22 2007
@@ -34,7 +34,12 @@
   </div>
   <#if parameters.hideFields?default("N") != "Y">
     <div class="screenlet-body">
-      <form method="post" name="lookupparty" action="<@ofbizUrl>findparty</@ofbizUrl>" class="basic-form" onsubmit="javascript:lookupParty('<@ofbizUrl>viewprofile</@ofbizUrl>');">
+      <#-- NOTE: this form is setup to allow a search by partial partyId or userLoginId; to change it to go directly to
+          the viewprofile page when these are entered add the follow attribute to the form element:
+          
+           onsubmit="javascript:lookupParty('<@ofbizUrl>viewprofile</@ofbizUrl>');"
+       -->
+      <form method="post" name="lookupparty" action="<@ofbizUrl>findparty</@ofbizUrl>" class="basic-form">
         <input type="hidden" name="lookupFlag" value="Y"/>
         <input type="hidden" name="hideFields" value="Y"/>
         <table cellspacing="0">