You probably want to use <cfset request.fc.bShowTray = false /> this
will keep the tray (and its JS) from loading.

Yes skin:loadJs will only load the javascript files once.  It uses the
"id" attribute to track which ones have been loaded.

Sean


On May 12, 11:35 pm, AJ Mercer <[email protected]> wrote:
> If you are logged in as sys admin and browse your site you get the Farcry
> tray at the bottom of your page.
>
> If you are making ajax calls to webskins - you dont what that to happen - it
> screws with the JS
>
> add this to the webskin
>     <cfset REQUEST.mode.BADMIN = FALSE />
>
> Are there any smarts behind
>     <skin:loadJS  id="jquery-ui" />
> such that if it is included multiple times it only add one to the generated
> HTML?
>
> --
>
> AJ Mercerhttp://webonix.nethttp://twitter.com/webonix
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options:http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter:http://twitter.com/farcry

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to