Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
d62c798d
Commit
d62c798d
authored
Sep 03, 2012
by
Angie Byron
Browse files
Issue
#1772466
by nod_: Fixed Broke overlay with the dependency patch.
parent
7e54f17b
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/overlay/overlay.module
View file @
d62c798d
...
...
@@ -647,14 +647,14 @@ function overlay_set_mode($mode = NULL) {
switch
(
$overlay_mode
)
{
case
'parent'
:
drupal_add_library
(
'overlay'
,
'parent'
);
drupal_add_library
(
'overlay'
,
'
drupal.overlay.
parent'
);
// Allow modules to act upon overlay events.
module_invoke_all
(
'overlay_parent_initialize'
);
break
;
case
'child'
:
drupal_add_library
(
'overlay'
,
'child'
);
drupal_add_library
(
'overlay'
,
'
drupal.overlay.
child'
);
// Allow modules to act upon overlay events.
module_invoke_all
(
'overlay_child_initialize'
);
...
...
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