Changeset 294 for trunk/contactcenter/js/ccAddGroup.js
- Timestamp:
- 06/03/08 17:58:55 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/js/ccAddGroup.js
r285 r294 35 35 this.title = Element('title'); 36 36 this.contact_in_list = Element('contact_in_list'); 37 this.contact_list = Element('contact_list');38 37 this.group_id = Element('group_id'); 39 38 … … 189 188 190 189 if(reload) { 191 for (j =0; j < this.contact_list.options.length; j++) { 192 this.contact_list.options[j].selected = false; 193 this.contact_list.options[j--] = null; 190 if(Element("contact_list")) 191 for (j =0; j < Element("contact_list").options.length; j++) { 192 Element("contact_list").options[j].selected = false; 193 Element("contact_list").options[j--] = null; 194 194 } 195 195 } … … 201 201 202 202 cAddGroup.prototype.remUser = function(){ 203 204 select = this.contact_list; 203 205 204 select_in = this.contact_in_list; 206 205 … … 213 212 cAddGroup.prototype.addUser = function(){ 214 213 215 select = this.contact_list;214 select = Element("contact_list"); 216 215 select_in = this.contact_in_list; 217 216
Note: See TracChangeset
for help on using the changeset viewer.