Changeset 15340 for extensions/GrumPluginClasses/js/ui.inputList.js
- Timestamp:
- May 27, 2012, 9:50:54 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GrumPluginClasses/js/ui.inputList.js
r8961 r15340 2 2 * ----------------------------------------------------------------------------- 3 3 * file: ui.inputList.js 4 * file version: 1.0. 05 * date: 201 0-11-024 * file version: 1.0.1 5 * date: 2012-05-25 6 6 * 7 7 * A jQuery plugin provided by the piwigo's plugin "GrumPluginClasses" … … 24 24 * | 1.0.0 | 2010/10/10 | first release 25 25 * | | | 26 * | | | 26 * | 1.0.1 | 2012/05/25 | fix bug with jquery 1.7.2 27 * | | | . display list now works :) 27 28 * | | | 28 29 * | | | … … 107 108 { 108 109 privateMethods.displaySelector($this, !$this.data('properties').selectorVisible); 109 $(this).focus();110 //$(this).focus(); // if get the focus, it hide the dorp-down list.. ? 110 111 } 111 112 ), … … 166 167 privateMethods.setOptions($this, opt); 167 168 168 if($this.text()!='') 169 if($this.text()!='') 169 170 { 170 171 var tmp=$.parseJSON($.trim($this.text())), … … 180 181 values=tmp.values; 181 182 } 182 183 183 184 if(tmp.selected!=null) selectedValues=tmp.selected; 184 185 privateMethods.setItems($this, values); 186 privateMethods.setValue($this, selectedValues); 187 185 186 privateMethods.setItems($this, values); 187 privateMethods.setValue($this, selectedValues); 188 188 189 } 189 190 … … 560 561 { 561 562 for(var i=0;i<properties.items.length;i++) 562 { 563 { 563 564 if($.inArray(i, properties.index)==-1) 564 565 returned.push(properties.items[i].value);
Note: See TracChangeset
for help on using the changeset viewer.