Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
media
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
media
Commits
e3a0fa53
Commit
e3a0fa53
authored
Jun 28, 2017
by
kenianbei
Committed by
olstjos
Jun 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2889764
by kenianbei, prafull.addweb: Typo: activePlugins used instead of enabledPlugins
parent
0174509c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
js/media.popups.js
js/media.popups.js
+1
-1
media.module
media.module
+1
-1
No files found.
js/media.popups.js
View file @
e3a0fa53
...
...
@@ -111,7 +111,7 @@ Drupal.media.popups.mediaBrowser.getDefaults = function () {
return
{
global
:
{
types
:
[],
// Types to allow, defaults to all.
active
Plugins
:
[]
// If provided, a list of plugins which should be enabled.
enabled
Plugins
:
[]
// If provided, a list of plugins which should be enabled.
},
widget
:
{
// Settings for the actual iFrame which is launched.
src
:
Drupal
.
settings
.
media
.
browserUrl
,
// Src of the media browser (if you want to totally override it)
...
...
media.module
View file @
e3a0fa53
...
...
@@ -1217,7 +1217,7 @@ function media_set_browser_params() {
// Filter out everything except a whitelist of known safe options.
$safe_options
=
array
(
'
active
Plugins'
,
'
enabled
Plugins'
,
'fid'
,
'id'
,
'multiselect'
,
...
...
Write
Preview
Markdown
is supported
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