I implemented your changes but jquery.min.js was still loading. I further tweaked the load values to "false" until I got the result I was looking for. With the below configuration both my staticpages and the configuration pages work as expected!
Text Formatted Code
public function setJavaScriptLibrary($name) {
global $_CONF;
$name = strtolower($name);
if (isset($this->library_files[$name])) {
if (!$this->library_files[$name]['load']) {
$this->library_files[$name]['load'] = false;
// If name is subset of jQuery. make sure all Core UI libraries are loaded
if (substr($name, 0, 7) == 'jquery.' && !$this->jquery_ui_cdn) {
// Check that file exists, if not use Google version
if (!file_exists($_CONF['path_html'] . $this->library_files[$name]['file'])) {
$this->jquery_ui_cdn = false;
$this->css_files['jquery.ui']['load'] = false;
$this->css_files['jquery.ui.all']['load'] = false;
} else {
$this->css_files['jquery.ui.all']['load'] = false;
}
$this->css_files['jquery.ui.geeklog']['load'] = false;
$this->library_files['jquery']['load'] = false;
$this->library_files['jquery.ui.core']['load'] = false;
$this->library_files['jquery.ui.widget']['load'] = true;
$this->library_files['jquery.ui.position']['load'] = true;
$this->library_files['jquery.ui.mouse']['load'] = true;
if ($_CONF['cdn_hosted']) {
$this->jquery_cdn = false;
$this->jquery_ui_cdn = false;
}
} elseif ($name == 'jquery' && $_CONF['cdn_hosted']) {
$this->jquery_cdn = false;
}
}
$this->javascript_set = true;
return true;
} else {
return false;
}
}
Thanks for all of your help! I'm almost ready to deploy 1.8.1 to my live site which is an upgrade it desperately needs!