Move mod/cal.php and mod/events.php to Module

This commit is contained in:
Philipp 2022-11-06 02:35:09 +01:00
parent 89fde911f9
commit f13c91b320
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
41 changed files with 1054 additions and 1109 deletions

View file

@ -254,10 +254,10 @@ function editpost(url) {
// But first we have to test if the url links to an event. So we will split up
// the url in its parts.
var splitURL = parseUrl(url);
// Test if in the url path containing "events/event". If the path containing this
// Test if in the url path containing "calendar/event/show". If the path containing this
// expression then we will call the addToModal function and exit this function at
// this point.
if (splitURL.path.indexOf("events/event") > -1) {
if (splitURL.path.indexOf("calendar/event/show") > -1) {
addToModal(splitURL.path);
return;
}