Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
4772b300
Commit
4772b300
authored
Jan 17, 2020
by
bbaer
Browse files
FullCalendar.io V3 done!
parent
ca065b6a
Pipeline
#3149
passed with stages
in 2 minutes and 12 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Gruntfile.js
View file @
4772b300
...
...
@@ -268,16 +268,16 @@ module.exports = function (grunt) {
fullCalendar
:
{
files
:
[
{
cwd
:
'
node_modules/
@
fullcalendar/
'
,
src
:
'
*
*
'
,
dest
:
"
js/fullCalendar
"
,
cwd
:
'
node_modules/fullcalendar/
dist
'
,
src
:
'
*
.min.js
'
,
dest
:
typo3_js
,
expand
:
true
,
flatten
:
false
},
{
cwd
:
'
node_modules/fullcalendar/dist
'
,
src
:
'
*.min.
*
'
,
dest
:
typo3_
j
s
,
src
:
'
*.min.
css
'
,
dest
:
typo3_
cs
s
,
expand
:
true
,
flatten
:
false
},
...
...
javascript/src/Helper/fullCalendar.js
View file @
4772b300
...
...
@@ -41,7 +41,7 @@ QfqNS.Helper = QfqNS.Helper || {};
function
()
{
var
config
=
{};
var
$this
=
$
(
this
);
var
element
=
$this
.
get
(
0
);
//
var element = $this.get(0);
var
configData
=
$this
.
data
(
'
config
'
);
if
(
configData
)
{
if
(
configData
instanceof
Object
)
{
...
...
@@ -51,8 +51,8 @@ QfqNS.Helper = QfqNS.Helper || {};
QfqNS
.
Log
.
warning
(
"
'data-config' is invalid:
"
+
configData
);
}
}
var
calendar
=
new
FullCalendar
.
Calendar
(
element
,
configData
);
calendar
.
render
();
$this
.
fullCalendar
(
configData
);
//
calendar.render();
}
);
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment