in Ox.Calendar tooltips, only display the text representation of an event's range if it's different from the event's name

This commit is contained in:
rlx 2011-10-29 17:05:44 +00:00
commit b6c872b5a4
3 changed files with 12 additions and 3 deletions

View file

@ -184,6 +184,14 @@ Ox.Select = function(options, self) {
}
};
that.disableItem = function(id) {
self.$menu.getItem(id).options({disabled: true});
};
that.enableItem = function(id) {
self.$menu.getItem(id).options({disabled: false});
};
// FIXME: selected() _and_ selectItem() _and_ value() ???
/*@