JQuery tools.scrollable conflict with navbar Ajax in CakePHP
- by user269098
In our views/layout/default.ctp file we have an element that's used to implement a cascading combo select box which uses JQuery ajax to update the fields. This selector is part of our navbar and is loaded on every page of the site. The default.ctp has these includes in the :
<?php echo $html->charset(); ?>
<title><?php echo $title_for_layout; //if(Configure::read('debug'))
//echo "cake: " . Configure::version(); ?></title>
<?php
echo $html->css('style');
echo $javascript->link('jquery', true);
echo $javascript->link('jquery.form', true);
echo $javascript->link('jquery.url', true);
echo $javascript->link('navbar', true);
echo $html->script('tools.expose-1.0.3.js', array('inline' => false));
//echo $scripts_for_layout;
?>
On the views/cars/index.ctp page we have:
echo $javascript->link('tools.tabs-1.0.1', true);
echo $javascript->link('tools.overlay-1.0.4', true);
echo $javascript->link('jquery.form', true);
echo $javascript->link('tools.scrollable-1.0.5', true);
The issue is that on every other page the navbar combo box selector works. However, on the cars/index.ctp it doesn't work. It only works when we comment out the 'tools.scrollable' include. Any ideas why there is this conflict? We have been stuck on this problem for months...