ViewCaldav.js (PHProjekt-6.2.0) | : | ViewCaldav.js (PHProjekt-6.2.1) | ||
---|---|---|---|---|
skipping to change at line 54 | skipping to change at line 54 | |||
} | } | |||
); | ); | |||
phpr.viewManager.getView().gridContainer.set('content', entry); | phpr.viewManager.getView().gridContainer.set('content', entry); | |||
}, | }, | |||
_getUserName: function() { | _getUserName: function() { | |||
}, | }, | |||
_setUrls: function() { | _setUrls: function() { | |||
var hostpart = location.href.substring(0, location.href.lastIndexOf("/") | var prefix = phpr.getAbsoluteUrl('index.php/Calendar2/caldav/index/'); | |||
+ 1); | ||||
var prefix = hostpart + 'index.php/Calendar2/caldav/index/'; | ||||
this._url = prefix + 'calendars/' + phpr.config.currentUserName + '/defa ult/'; | this._url = prefix + 'calendars/' + phpr.config.currentUserName + '/defa ult/'; | |||
this._iosUrl = prefix + 'principals/' + phpr.config.currentUserName + '/ '; | this._iosUrl = prefix + 'principals/' + phpr.config.currentUserName + '/ '; | |||
} | } | |||
}); | }); | |||
End of changes. 1 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added |