}
Date.prototype.getDisplayHoursString = function() {
- var hoursString = this.getHours();
+ var hoursString = "" + this.getHours();
if (hoursString.length == 1)
hoursString = '0' + hoursString;
- var minutesString = this.getMinutes();
+ var minutesString = "" + this.getMinutes();
if (minutesString.length == 1)
minutesString = '0' + minutesString;
-
return hoursString + ":" + minutesString;
}
var divs = new Array();
- var title = eventData[3];
+ var title;
+ if (currentView == "monthview"
+ && (eventData[7] == 0))
+ title = startDate.getDisplayHoursString() + " " + eventData[3];
+ else
+ title = eventData[3];
+
// log("title: " + title);
// log("viewS: " + viewStartDate);
var startHour = null;
function configureSearchField() {
var searchValue = $("searchValue");
- Event.observe(searchValue, "mousedown", onSearchMouseDown.bindAsEventListener(searchValue));
- Event.observe(searchValue, "click", popupSearchMenu.bindAsEventListener(searchValue));
- Event.observe(searchValue, "blur", onSearchBlur.bindAsEventListener(searchValue));
- Event.observe(searchValue, "focus", onSearchFocus.bindAsEventListener(searchValue));
- Event.observe(searchValue, "keydown", onSearchKeyDown.bindAsEventListener(searchValue));
+ Event.observe(searchValue, "mousedown",
+ onSearchMouseDown.bindAsEventListener(searchValue));
+ Event.observe(searchValue, "click",
+ popupSearchMenu.bindAsEventListener(searchValue));
+ Event.observe(searchValue, "blur",
+ onSearchBlur.bindAsEventListener(searchValue));
+ Event.observe(searchValue, "focus",
+ onSearchFocus.bindAsEventListener(searchValue));
+ Event.observe(searchValue, "keydown",
+ onSearchKeyDown.bindAsEventListener(searchValue));
}
function configureLists() {