Commit e3a0fa53 authored by kenianbei's avatar kenianbei Committed by olstjos

Issue #2889764 by kenianbei, prafull.addweb: Typo: activePlugins used instead of enabledPlugins

parent 0174509c
......@@ -111,7 +111,7 @@ Drupal.media.popups.mediaBrowser.getDefaults = function () {
return {
global: {
types: [], // Types to allow, defaults to all.
activePlugins: [] // If provided, a list of plugins which should be enabled.
enabledPlugins: [] // 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)
......
......@@ -1217,7 +1217,7 @@ function media_set_browser_params() {
// Filter out everything except a whitelist of known safe options.
$safe_options = array(
'activePlugins',
'enabledPlugins',
'fid',
'id',
'multiselect',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment