svn commit: r992484 - in /ofbiz/branches/jquery/framework: common/webcommon/includes/setMutipleSelectJs.ftl example/widget/example/FormWidgetExampleScreens.xml

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

svn commit: r992484 - in /ofbiz/branches/jquery/framework: common/webcommon/includes/setMutipleSelectJs.ftl example/widget/example/FormWidgetExampleScreens.xml

jleroux@apache.org
Author: jleroux
Date: Fri Sep  3 21:41:05 2010
New Revision: 992484

URL: http://svn.apache.org/viewvc?rev=992484&view=rev
Log:
Adds a sortable parameter to setMutipleSelectJs.ftl

Modified:
    ofbiz/branches/jquery/framework/common/webcommon/includes/setMutipleSelectJs.ftl
    ofbiz/branches/jquery/framework/example/widget/example/FormWidgetExampleScreens.xml

Modified: ofbiz/branches/jquery/framework/common/webcommon/includes/setMutipleSelectJs.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/common/webcommon/includes/setMutipleSelectJs.ftl?rev=992484&r1=992483&r2=992484&view=diff
==============================================================================
--- ofbiz/branches/jquery/framework/common/webcommon/includes/setMutipleSelectJs.ftl (original)
+++ ofbiz/branches/jquery/framework/common/webcommon/includes/setMutipleSelectJs.ftl Fri Sep  3 21:41:05 2010
@@ -21,7 +21,7 @@ under the License.
 
     jQuery("#${multipleSelectForm}_${multipleSelect}").asmSelect({
       addItemTarget: 'top',
-      sortable: true
+      sortable: ${sortable}
     });
 
     // track changes with our own event

Modified: ofbiz/branches/jquery/framework/example/widget/example/FormWidgetExampleScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/example/widget/example/FormWidgetExampleScreens.xml?rev=992484&r1=992483&r2=992484&view=diff
==============================================================================
--- ofbiz/branches/jquery/framework/example/widget/example/FormWidgetExampleScreens.xml (original)
+++ ofbiz/branches/jquery/framework/example/widget/example/FormWidgetExampleScreens.xml Fri Sep  3 21:41:05 2010
@@ -69,7 +69,8 @@ under the License.
                                             <set field="multipleSelect"  value="countryGeoIdMultiple"/>
                                             <set field="multipleSelectForm" value="DropDownMultipleFieldExampleForm"/>
                                             <set field="formSize" value="500"/>
-                                            <set field="asmListItemPercentOfForm" value="100"/>                
+                                            <set field="asmListItemPercentOfForm" value="100"/>
+                                            <set field="sortable" value="false"/>                                            
                                         </actions>
                                         <widgets>
                                             <!--platform-specific><html><html-template location="component://common/webcommon/includes/setCountryStatesEventJs.ftl"/></html></platform-specific-->