aboutsummaryrefslogtreecommitdiffstats
path: root/apps/calendar/js/calendar_init.js
diff options
context:
space:
mode:
authorGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-08-19 20:33:48 +0200
committerGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-08-19 20:33:48 +0200
commitd1daca50298f347b874bcd321d1c87b9f9101ac1 (patch)
tree51857325dbbdc3ab49870783df848073e5d3b570 /apps/calendar/js/calendar_init.js
parent82bd2ad31053327369a47946afe464db1c82362d (diff)
downloadnextcloud-server-d1daca50298f347b874bcd321d1c87b9f9101ac1.tar.gz
nextcloud-server-d1daca50298f347b874bcd321d1c87b9f9101ac1.zip
a lot of new functions (e.g. add event form), style fixes, bug fixes
Diffstat (limited to 'apps/calendar/js/calendar_init.js')
-rwxr-xr-xapps/calendar/js/calendar_init.js17
1 files changed, 12 insertions, 5 deletions
diff --git a/apps/calendar/js/calendar_init.js b/apps/calendar/js/calendar_init.js
index 7c1303b9c25..c2f13dbfcff 100755
--- a/apps/calendar/js/calendar_init.js
+++ b/apps/calendar/js/calendar_init.js
@@ -17,11 +17,16 @@
* 59 Temple Place, Suite 330, Boston, *
* MA 02111-1307 USA *
*************************************************/
-//loading Buttons
-$(function(){
- $("#choosecalendar").buttonset();
- $(".choosecalendar_check").button();
- $("#list").button();
+//loading multiselect
+$(document).ready(function(){
+ $("#calendar_select").multiSelect({
+ selectedText: "Calendars",
+ noneSelectedText: "Calendars",
+ selectedList: 0,
+ close: function(){
+ alert("abc");
+ }
+ });
});
//init date vars
var oc_cal_date = new Date();
@@ -47,6 +52,8 @@ var oc_cal_rows;
var oc_cal_dates;
var oc_cal_listview_numofevents = 0;
var oc_cal_listview_count = 0;
+var oc_cal_opendialog = 0;
+var oc_cal_datemonthyear = String(oc_cal_dayofmonth) + String(oc_cal_month) + String(oc_cal_year);
//event vars
var oc_cal_events = new Array(2011);
oc_cal_events[2011] = new Array(0,1,2,3,4,5,6,7,8,9,10,11);