Changeset 3180 for branches/2.2/contactcenter
- Timestamp:
- 08/25/10 12:03:25 (14 years ago)
- Location:
- branches/2.2/contactcenter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/contactcenter/inc/class.ui_data.inc.php
r3018 r3180 1140 1140 { 1141 1141 unset($this->page_info['actual_entries']); 1142 foreach ($result as $id => $value) 1143 { 1144 /**rev 104**/ 1145 // $this->page_info['actual_entries'][] = $value[$field_name]; 1146 //} 1147 if($this->page_info['actual_catalog']['class'] != 'bo_shared_people_manager' && $this->page_info['actual_catalog']['class'] != 'bo_shared_group_manager') 1148 $this->page_info['actual_entries'][] = $value[$field_name]; 1149 else 1150 $this->page_info['actual_entries'][] = array(0=>$value[$field_name],1=>$value['perms'],2=>$value['owner']); 1142 if(is_array($result)) { 1143 foreach ($result as $id => $value) 1144 { 1145 if($this->page_info['actual_catalog']['class'] != 'bo_shared_people_manager' && $this->page_info['actual_catalog']['class'] != 'bo_shared_group_manager') 1146 $this->page_info['actual_entries'][] = $value[$field_name]; 1147 else 1148 $this->page_info['actual_entries'][] = array(0=>$value[$field_name],1=>$value['perms'],2=>$value['owner']); 1149 } 1151 1150 } 1152 /****/1153 //print_r($this->page_info['actual_entries']);1154 1151 } 1155 1152 } -
branches/2.2/contactcenter/js/cc_tree.js
r1598 r3180 67 67 _this.catalog_perms = parseInt(data['perms']); 68 68 69 if (_this.afterSetCatalog) 69 if(_this.catalog_perms == 0){ 70 if(CC_visual == 'cards') 71 drawCards(0); 72 else if(CC_visual == 'table') 73 drawTable(0); 74 setPages(0,0); 75 } 76 else if (_this.afterSetCatalog) 70 77 { 71 78 typeof(_this.afterSetCatalog) == 'function' ? _this.afterSetCatalog() : eval(_this.afterSetCatalog);
Note: See TracChangeset
for help on using the changeset viewer.