fix a bug in ListCalendar

This commit is contained in:
rolux 2012-03-07 12:49:01 +01:00
parent 9a559809b0
commit 37706512e5

View file

@ -761,9 +761,6 @@ Ox.ListCalendar = function(options, self) {
} }
self.options.hasMatches && self.$matchesInput.value(event.matches || 0).show(); self.options.hasMatches && self.$matchesInput.value(event.matches || 0).show();
self.options.mode == 'define' && self.$defineEventButton.options({ self.options.mode == 'define' && self.$defineEventButton.options({
title: isUndefined ? 'Define Event' : 'Clear Event'
}).show();
self.$defineEventButton.options({
disabled: !event.matches, disabled: !event.matches,
title: isUndefined ? 'Define Event' : 'Clear Event' title: isUndefined ? 'Define Event' : 'Clear Event'
}).show(); }).show();