Using a function like this
function phptemplate_preprocess_page(&$vars) {
$scripts = drupal_add_js();
unset($scripts['module']['sites/default/files/js/jquery-min.js']);
unset($scripts['module']['js_file.js']);
$vars['scripts'] = drupal_get_js('header', $scripts);
}
to remove js files won't work when this module is enabled.
Comments
Comment #1
karljohann commentedThis seems to be "fixed" in the dev version, the jquery update does however not work then...Comment #2
karljohann commentedComment #3
hansyg commentedI would love to see this fixed
Comment #4
Anonymous (not verified) commentedRunning into this as well. Is it safe to say that this module is abandoned? No releases since 2010 is a pretty long time to keep this bug going.
Comment #5
kenorb commented#965680: jquery_update_preprocess_page() overwrite $variables['scripts']
#426764: Allow other modules to alter the replacements
Comment #6
marinex commentedHi you must implement hook_theme_registry_alter here is nice guide remove-or-replace-jscss-page