- Timestamp:
- 07/24/12 10:20:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.2-expresso1/prototype/modules/calendar/js/init.js
r6832 r6857 321 321 * TODO - Encontrar icones mais filé 322 322 */ 323 element.find(".fc-event-inner.fc-event-skin").prepend($('<img class="" src="../prototype/modules/calendar/img/' + ( (event.type == 1) ? "event" : "task" ) + '.png"></img>')); 323 var img_icon = ""; 324 if(event.type == 1) 325 img_icon = "event.png"; 326 if(event.type == 2) 327 img_icon = "task.png"; 328 if(event.type == 3) 329 img_icon = "activity_icon.jpg"; 330 element.find(".fc-event-inner.fc-event-skin").prepend($('<img class="" src="../prototype/modules/calendar/img/' + img_icon + '"></img>')); 324 331 }, 325 332
Note: See TracChangeset
for help on using the changeset viewer.