Thanks for the response - after some more testing I think I found some more specific information about this issue.
The scripts I am referring to are the javascript functions that we have in templates that are specified in the <head> section within the template so they get added to the <head> of the page. One of the pages called by our TabAccordion has a template on it with some javascript like this and not only is it in the head of the homepage (with the TabAccordion) but it is in the head of every single page now.
We are using the latest TabAccordion from rberinger (2.1 9/13/2009) with some small modifications but nothing that would explain this behavior
We are calling the TabAccordion just like a regular template call in the content of the homepage:
Code:
<pre class="script">
TabAccordion{type:'tab',id: '#MyID1',
content: [ {path:'/pathToPage', name:'tabName', allowedit:false},
{path:'/pathToPage2', name:'tabName2', allowedit:false},
{path:'/pathToPage3', name:'tabName3', allowedit:false},
{path:'/pathToPage4', name:'tabName4', allowedit:false},
{path:'/pathToPage5', name:'tabName5', allowedit:false}] ,
options: {collapsible:false, event: 'click'}}</pre>
But as for the new information that should shed some light on this - it appears that it isn't breaking all of our templates. The two that we have noticed it breaking is the DataTables template (http://developer.mindtouch.com/Template
atatable) and the CollapseItem (v1.01 from neilw) template. Both of these use the Deki.$(document).ready call - could this be an issue?
The only place I am getting errors is on the frontend through the firebug console - the one that stands out as being related to this is:
Code:
$table.find(".deki-editable").editable is not a function
onSuccess: function($el, old, response) js.php....T,ADMIN(line 4076)
Of course that isn't expanding the error but doing so would show the entire javascript code at line 4076.
I even added a check on the TabAccordion template as a long shot so that if the page id = homepage id then use the template else not. But this didn't change anything.
Any help/ideas is greatly appreciated.