Commit 5bedc2d4 authored by DamienMcKenna's avatar DamienMcKenna Committed by japerry

Issue #1675062 by DamienMcKenna: Remove use of JQUERY_UPDATE_REPLACE_PATH constant

parent f678137c
......@@ -489,7 +489,7 @@ function ctools_js_replacements() {
$replacements = array_merge_recursive($replacements, jquery_update_get_replacements());
foreach ($replacements as $type => $type_replacements) {
foreach ($type_replacements as $old_path => $new_filename) {
$replacements[$type][$old_path] = JQUERY_UPDATE_REPLACE_PATH . "/$new_filename";
$replacements[$type][$old_path] = drupal_get_path('module', 'jquery_update') . "/replace/$new_filename";
}
}
$replacements['core']['misc/jquery.js'] = jquery_update_jquery_path();
......
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