Browse Source

Fixed #7: className not working for items

css_transitions
josdejong 11 years ago
parent
commit
1c200f7dfc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/timeline/component/ItemSet.js

+ 2
- 2
src/timeline/component/ItemSet.js View File

@ -192,9 +192,9 @@ ItemSet.prototype.repaint = function repaint() {
itemsData = this.itemsData, itemsData = this.itemsData,
items = this.items, items = this.items,
dataOptions = { dataOptions = {
fields: [(itemsData && itemsData.fieldId || 'id'), 'start', 'end', 'content', 'type']
// TODO: cleanup
//fields: [(itemsData && itemsData.fieldId || 'id'), 'start', 'end', 'content', 'type']
}; };
// TODO: copy options from the itemset itself?
// show/hide added/changed/removed items // show/hide added/changed/removed items
Object.keys(queue).forEach(function (id) { Object.keys(queue).forEach(function (id) {

Loading…
Cancel
Save