paper.setSize(this.width,this.height);
+
+
this.renderPaper(this.startHour,this.endHour);
},
var open = startHour.split(':').shift() * 1;
var close = endHour.split(':').shift() * 1;
+ var late_night_close = false;
+ if (close < open || close >= 24) {
+ //endHour = '24:00';
+ close = 24;
+ late_night_close = close;
+ }
+
+
var paper = this.paper;
this.paper.clear();
var min = ov ? _t.getValue().split(':').pop() : '00';
var ntime = times[this.j] + ':' + min;
_t.setValue(ntime);
+ _t.fireEvent('select', ntime);
if (asector) {
// reset
var hr = ov ? _t.getValue().split(':').shift() : '12';
var ntime = hr + ':' + min;
_t.setValue(ntime);
+ _t.fireEvent('select', ntime);
+
//tdisplay.attr( { text : _t.formatTime(ntime) });
//var ov = _t.getValue();