mirror of
https://github.com/friendica/friendica
synced 2025-04-24 09:10:17 +00:00
Move mod/cal.php and mod/events.php to Module
This commit is contained in:
parent
89fde911f9
commit
f13c91b320
41 changed files with 1054 additions and 1109 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue