Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plugins bot
moodle-plugins-snapshots
Commits
0053c77d
Commit
0053c77d
authored
Jan 26, 2017
by
Dan Poltawski
Browse files
MDL-57690 js: fix missing requirement before using M.core.dialogue
parent
e0e5407e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/outputrequirementslib.php
View file @
0053c77d
...
...
@@ -730,7 +730,11 @@ class page_requirements_manager {
case
'core_filepicker'
:
$module
=
array
(
'name'
=>
'core_filepicker'
,
'fullpath'
=>
'/repository/filepicker.js'
,
'requires'
=>
array
(
'base'
,
'node'
,
'node-event-simulate'
,
'json'
,
'async-queue'
,
'io-base'
,
'io-upload-iframe'
,
'io-form'
,
'yui2-treeview'
,
'panel'
,
'cookie'
,
'datatable'
,
'datatable-sort'
,
'resize-plugin'
,
'dd-plugin'
,
'escape'
,
'moodle-core_filepicker'
),
'requires'
=>
array
(
'base'
,
'node'
,
'node-event-simulate'
,
'json'
,
'async-queue'
,
'io-base'
,
'io-upload-iframe'
,
'io-form'
,
'yui2-treeview'
,
'panel'
,
'cookie'
,
'datatable'
,
'datatable-sort'
,
'resize-plugin'
,
'dd-plugin'
,
'escape'
,
'moodle-core_filepicker'
,
'moodle-core-notification-dialogue'
),
'strings'
=>
array
(
array
(
'lastmodified'
,
'moodle'
),
array
(
'name'
,
'moodle'
),
array
(
'type'
,
'repository'
),
array
(
'size'
,
'repository'
),
array
(
'invalidjson'
,
'repository'
),
array
(
'error'
,
'moodle'
),
array
(
'info'
,
'moodle'
),
array
(
'nofilesattached'
,
'repository'
),
array
(
'filepicker'
,
'repository'
),
array
(
'logout'
,
'repository'
),
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment