- Timestamp:
- 03/26/12 13:47:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tapas/web/resources/js/classesForJQuery/Select.js
r382 r438 39 39 this.isHover = false; 40 40 this.arrayOptions = $(); 41 this.values = $(); 41 42 this.className = objectParameter.className ? "select_container " + objectParameter.className : "select_container"; 42 43 this.classNameOption = objectParameter.classNameOption ? "select_choicelist " + objectParameter.classNameOption : "select_choicelist"; … … 86 87 { 87 88 return this.itemValue; 89 }, 90 91 getValues: function() 92 { 93 return this.values; 88 94 }, 89 95 … … 174 180 175 181 this.arrayOptions.push( divOptionMiddle ); 182 this.values.push( itemValue ); 176 183 }, 177 184 … … 186 193 var index = jQuery.inArray( divOption, this.arrayOptions ); 187 194 this.arrayOptions.splice( index, 1 ); 195 this.values.splice( index, 1 ); 188 196 return false; 189 197 } … … 196 204 this.divOption.empty(); 197 205 this.arrayOptions = $(); 206 this.values = $(); 198 207 }, 199 208
Note: See TracChangeset
for help on using the changeset viewer.