Skip to content

Commit

Permalink
fixing php notice bug
Browse files Browse the repository at this point in the history
  • Loading branch information
heartdriven committed Nov 16, 2011
1 parent 8a8a09f commit 1cbffe7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cucumber_helper.module
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?php

function cucumber_helper_js_alter(&$javascript) {
$javascript['modules/overlay/overlay-parent.js']['data'] = drupal_get_path('module', 'cucumber_helper') . '/overlay-parent.js';
$overlay_js_path = drupal_get_path('module','overlay') . '/overlay-parent.js';
$overlay_custom_js_path = drupal_get_path('module', 'cucumber_helper') . '/overlay-parent.js';

$javascript[$overlay_js_path] = drupal_js_defaults($overlay_custom_js_path);
}

0 comments on commit 1cbffe7

Please sign in to comment.