mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-12 21:59:43 +00:00
(js) Improve handling of Web calendars
This commit is contained in:
@@ -138,6 +138,7 @@
|
||||
hostname = parts[2];
|
||||
|
||||
vm.title = l("Please identify yourself to %{0}").formatted(hostname);
|
||||
vm.url = url;
|
||||
vm.authenticate = function(form) {
|
||||
if (form.$valid || !form.$error.required) {
|
||||
calendar.setCredentials(vm.username, vm.password).then(function(message) {
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
'<p class="sg-item-name"',
|
||||
' ng-dblclick="$ctrl.editFolder($event)">',
|
||||
' <span ng-bind="$ctrl.calendar.name"></span>',
|
||||
' <md-icon ng-if="$ctrl.calendar.$error" class="md-warn">error</md-icon>',
|
||||
' <md-tooltip md-delay="1000"',
|
||||
' md-autohide="true"',
|
||||
' ng-bind="$ctrl.calendar.name"></md-tooltip>',
|
||||
@@ -282,7 +283,7 @@
|
||||
targetEvent: $event,
|
||||
clickOutsideToClose: true,
|
||||
escapeToClose: true,
|
||||
templateUrl: 'UIxCalendarImportDialog',
|
||||
templateUrl: 'UIxCalendarImportDialog', // subtemplate of UIxCalMainView.wox
|
||||
controller: CalendarImportDialogController,
|
||||
controllerAs: '$CalendarImportDialogController',
|
||||
locals: {
|
||||
|
||||
Reference in New Issue
Block a user