Quick Nav:  Online Store   |   Login | Register

Javascript Errors

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Will Strohl
<50 Posts
Posts:48


05/07/2008 7:39 PM  

What rule is needed to exclude the Snapsis CSSEditor?  I had no JavaScript errors prior to installing it, but once it is installed, I get the following error when the page loads.

Error: 'snapsis_AppPath' is undefined

Debugging leads me to Line 736 of the ~/DesktopModules/Snapsis/Admin.js file.

I have tried this with PB v3.x with both DesktopModules/(!?Snapsis) and \.js excluded, and included.

John Mitchell
Posts:2779


05/07/2008 8:44 PM  

You can try:
< path pattern="snapsis/admin.js" excludeFrom="MergeJS" />

or

< path pattern="snapsis/admin.js" excludeFrom="JSMin" />

I'll also take a look to see if I can figure out why it is getting a Javascript error.

Will Strohl
<50 Posts
Posts:48


05/07/2008 9:31 PM  
Great advice. I will try that.

However, as you mentioned, I did see that v3.x is supposed to automatically merge JS and CSS files. While this is an awesome feature, the HTML mark up shows me that there are still individual requests to each CSS and JS file. The HTML output does not appear to have "merged" the files into one. All of my existing exclude rules only exclude from "All"
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software