Changeset 3178 for branches/2.2/expressoMail1_2/js/draw_api.js
- Timestamp:
- 08/25/10 11:43:43 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/js/draw_api.js
r3168 r3178 155 155 } 156 156 } 157 158 159 160 var handlerChannel = function(data){ 161 if (data == null) 162 return; 163 /* 164 * RSS NEWS 165 */ 166 var root_rss = new dNode({ 167 id: "news_root", 168 caption: get_lang('News') 169 }); 170 tree_folders.add(root_rss, "root"); 171 for(i=0; i < data.length; i++) 172 { 173 var nodeNews = new dNode({ 174 id: "NEWS/"+data[i].name, 175 caption: data[i].name, 176 onClick: "open_rss('"+data[i].rss_url+"')", 177 plusSign: 0 178 }); 179 tree_folders.add(nodeNews,"news_root"); 180 } 181 var noden=document.getElementById('lnews_roottree_folders'); 182 noden.style.backgroundImage="url(templates/"+template+"/images/menu/rss.png)"; 183 } 184 cExecute('$this.rss.getChannels',handlerChannel); 185 186 157 187 /** 158 188 * Pastas locais … … 321 351 } 322 352 } 353 323 354 } 324 355 … … 584 615 585 616 openTab.content_id[numBox] = document.getElementById("content_id_"+numBox); 617 openTab.content_id[numBox].innerHTML = ""; 586 618 openTab.imapBox[numBox] = msg_folder; 587 619 openTab.type[numBox] = 0;
Note: See TracChangeset
for help on using the changeset viewer.