Lines Matching refs:dw_davcal__modals
28 dw_davcal__modals.page = calendarpage;
37 dw_davcal__modals.showSettingsDialog();
52 id: dw_davcal__modals.page,
53 page: dw_davcal__modals.page,
63 dw_davcal__modals.settings = data['settings'];
72 dw_davcal__modals.showEditEventDialog(date, false);
75 dw_davcal__modals.showEditEventDialog(calEvent, true);
83 id: dw_davcal__modals.page,
84 page: dw_davcal__modals.page,
88 dw_davcal__modals.msg = LANG.plugins.davcal['error_retrieving_data'];
89 dw_davcal__modals.showDialog(false);
129 dw_davcal__modals.detectedTz = detectedTz;
132 dw_davcal__modals.currentTz = (tz === false) ? '' : tz;
143 var dw_davcal__modals = { class
162 if(dw_davcal__modals.$settingsDialog)
187 id: dw_davcal__modals.page,
188 page: dw_davcal__modals.page,
207 dw_davcal__modals.hideSettingsDialog();
228 …w_davcal__settings_syncurl_edit" class="dw_davcal__text" value="' + dw_davcal__modals.settings['sy…
229 …cal__settings_principalurl_edit" class="dw_davcal__text" value="' + dw_davcal__modals.settings['pr…
234 …avcal__settings_privateurl_edit" class="dw_davcal__text" value="' + dw_davcal__modals.settings['pr…
241 dw_davcal__modals.$settingsDialog = jQuery(document.createElement('div'))
302 if(dw_davcal__modals.settings)
304 if(dw_davcal__modals.settings['timeformat'] !== '')
305 … jQuery('#dw_davcal__settings_timeformat').val(dw_davcal__modals.settings['timeformat']);
306 if(dw_davcal__modals.settings['timezone'] !== '')
307 … jQuery('#dw_davcal__settings_timezone').val(dw_davcal__modals.settings['timezone']);
308 if(dw_davcal__modals.settings['weeknumbers'] == 1)
313 if(dw_davcal__modals.settings['workweek'] == 1)
318 if(dw_davcal__modals.settings['monday'] == 1)
322 if(dw_davcal__modals.settings['meta']['forcetimezone'] !== 'no')
324 if(dw_davcal__modals.settings['meta']['forcetimeformat'] !== 'no')
331 dw_davcal__modals.hideSettingsDialog();
356 dw_davcal__modals.msg = LANG.plugins.davcal['start_date_invalid'];
357 dw_davcal__modals.showDialog(false);
362 dw_davcal__modals.msg = LANG.plugins.davcal['end_date_invalid'];
363 dw_davcal__modals.showDialog(false);
368 dw_davcal__modals.msg = LANG.plugins.davcal['end_date_before_start_date'];
369 dw_davcal__modals.showDialog(false);
374 dw_davcal__modals.msg = LANG.plugins.davcal['end_date_is_same_as_start_date'];
375 dw_davcal__modals.showDialog(false);
387 if(dw_davcal__modals.$editEventDialog)
391 for(var i=0; i<dw_davcal__modals.settings['calids'].length; i++)
396 if(event.page == dw_davcal__modals.settings['calids'][i]['page'])
397 readonly = !dw_davcal__modals.settings['calids'][i]['write'];
403 if(dw_davcal__modals.settings['calids'][i]['write'])
425 if(!dw_davcal__modals.checkEvents())
455 page: dw_davcal__modals.page,
468 dw_davcal__modals.hideEditEventDialog();
474 dw_davcal__modals.action = 'deleteEvent';
475 dw_davcal__modals.msg = LANG.plugins.davcal['really_delete_this_event'];
476 dw_davcal__modals.completeCb = function(data) {
483 dw_davcal__modals.hideEditEventDialog();
486 dw_davcal__modals.showDialog(true);
515 calEvent.page = dw_davcal__modals.page;
533 calEvent.page = dw_davcal__modals.settings['calids'][0]['page'];
536 if(!dw_davcal__modals.checkEvents())
566 page: dw_davcal__modals.page,
579 dw_davcal__modals.hideEditEventDialog();
586 dw_davcal__modals.hideEditEventDialog();
588 dw_davcal__modals.uid = calEvent.id;
589 dw_davcal__modals.$editEventDialog = jQuery(document.createElement('div'))
635 for(var i=0; i<dw_davcal__modals.settings['calids'].length; i++)
639 if(!edit && (dw_davcal__modals.settings['calids'][i]['write'] === false))
641 if(calEvent.page == dw_davcal__modals.settings['calids'][i]['page'])
643 …opdown.append('<option value="' + dw_davcal__modals.settings['calids'][i]['page'] + '"' + sel + '>…
645 if(edit || (dw_davcal__modals.settings['calids'].length < 1))
651 jQuery('#dw_davcal__tz_edit').val(dw_davcal__modals.detectedTz);
652 jQuery('#dw_davcal__currenttz_edit').val(dw_davcal__modals.currentTz);
669 dw_davcal__modals.attachAttachmentDeleteHandlers();
679 dw_davcal__modals.attachAttachmentDeleteHandlers();
703 dw_davcal__modals.hideEditEventDialog();
768 if(dw_davcal__modals.$confirmDialog)
782 page: dw_davcal__modals.page,
783 action: dw_davcal__modals.action,
785 uid: dw_davcal__modals.uid
791 dw_davcal__modals.completeCb(data);
794 dw_davcal__modals.hideDialog();
797 dw_davcal__modals.hideDialog();
804 dw_davcal__modals.hideDialog();
807 dw_davcal__modals.$dialog = jQuery(document.createElement('div'))
823 '<div>' + dw_davcal__modals.msg + '</div>'
837 dw_davcal__modals.hideDialog();
845 dw_davcal__modals.$editEventDialog.empty();
846 dw_davcal__modals.$editEventDialog.remove();
847 dw_davcal__modals.$editEventDialog = null;
854 dw_davcal__modals.$dialog.empty();
855 dw_davcal__modals.$dialog.remove();
856 dw_davcal__modals.$dialog = null;
863 dw_davcal__modals.$settingsDialog.empty();
864 dw_davcal__modals.$settingsDialog.remove();
865 dw_davcal__modals.$settingsDialog = null;