Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
8cbe66b5
Commit
8cbe66b5
authored
13 years ago
by
Georg Ehrke
Browse files
Options
Downloads
Patches
Plain Diff
bug fixes at new event form (categorie and calendar)
parent
58129f9a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/calendar/ajax/newevent.php
+1
-2
1 addition, 2 deletions
apps/calendar/ajax/newevent.php
apps/calendar/templates/part.newevent.php
+2
-2
2 additions, 2 deletions
apps/calendar/templates/part.newevent.php
with
3 additions
and
4 deletions
apps/calendar/ajax/newevent.php
+
1
−
2
View file @
8cbe66b5
...
...
@@ -27,8 +27,7 @@ if(!OC_USER::isLoggedIn()) {
$title
=
$_POST
[
"title"
];
$location
=
$_POST
[
"location"
];
$cat
=
$_POST
[
"cat"
];
$cal
=
$_POST
[
"cal"
];
$cal
=
"1"
;
$cal
=
str_replace
(
"option_"
,
""
,
$_POST
[
"cal"
]);
$allday
=
$_POST
[
"allday"
];
$from
=
$_POST
[
"from"
];
$fromtime
=
$_POST
[
"fromtime"
];
...
...
This diff is collapsed.
Click to expand it.
apps/calendar/templates/part.newevent.php
+
2
−
2
View file @
8cbe66b5
...
...
@@ -153,8 +153,8 @@
function
validate_newevent_form
(){
var
newevent_title
=
document
.
getElementById
(
"
newevent_title
"
).
value
;
var
newevent_location
=
document
.
getElementById
(
"
newevent_location
"
).
value
;
var
newevent_cat
;
//
= document.getElementById("
newevent_ca
t").options[document.getElementById("
newevent_ca
t").selectedIndex].value;
var
newevent_cal
;
//
= document.getElementById("
newevent_cal
").options[document.getElementById("
newevent_cal
").selectedIndex].
value
;
var
newevent_cat
=
document
.
getElementById
(
"
formcategorie_selec
t
"
).
options
[
document
.
getElementById
(
"
formcategorie_selec
t
"
).
selectedIndex
].
value
;
var
newevent_cal
=
document
.
getElementById
(
"
formcalendar_select
"
).
options
[
document
.
getElementById
(
"
formcalendar_select
"
).
selectedIndex
].
id
;
var
newevent_allday
=
document
.
getElementById
(
"
newcalendar_allday_checkbox
"
).
checked
;
var
newevent_from
=
document
.
getElementById
(
"
from
"
).
value
;
var
newevent_fromtime
=
document
.
getElementById
(
"
fromtime
"
).
value
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment