Commit d62c798d authored by webchick's avatar webchick

Issue #1772466 by nod_: Fixed Broke overlay with the dependency patch.

parent 7e54f17b
......@@ -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');
......
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