Edit bar pop ups issue

Permalink
I have been slowly working my way through building my first concrete5 site and all has been going... pretty well to be honest! But i have a weird issue i just can't find a solution to.

I have a jQuery Slider on my home page, and if its .js files are loaded in my template for the homepage, none of the editors pop ups work properly.

I added in some php to the template to only load in the js for the slider when NOT in edit mode, which kind of half fixes the problem.

The issue is that even out of edit mode, options like Add a Sub-Page or Properties are available. As soon as i click one of those options, i see the loader for the pop up for a split second, followed by what would have been the contents of the pop up (only minus any styling) displayed in the whole browser window rather than as a pop up.
To add insult to injury, in this state the options displayed wont save! Yay!

Any ideas guys?

pulsecode
 
Mnkras replied on at Permalink Reply
Mnkras
Are you including jquery in your theme? if so, remove it.
pulsecode replied on at Permalink Reply
pulsecode
Hi Mnkras,
Nope, i'm not calling jQuery (i learned earlier today after faffing about with various parts of my theme that jQuery was already called by default).

It is literally these lines that cause the popup windows to fail:
<script type="text/javascript" src="<?php print $this->getThemePath(); ?>/js/superslider.min.js"></script>

<script type="text/javascript" src="<?php print $this->getThemePath(); ?>/js/superslider.plugins.min.js"></script>

I know without the actual (non minified) code, posting those lines is next to pointless. But at least you guys can then see i'm not duplicating jQuery itself or doing something particularly weird! :^)
Mnkras replied on at Permalink Reply
Mnkras
What happens if you comment out one of those?
pulsecode replied on at Permalink Reply
pulsecode
If i comment out just one (tried with both individually) the edit bar displays but is empty (so its just a plain grey bar with no functionality).

The only difference between commenting one or the other is that if i comment out the first, the slider shows its first image and nothing else whereas if i comment the second, i see the loader image and nothing else instead.
Mnkras replied on at Permalink Reply
Mnkras
This is really hard to debug without the siteurl and login info for the site, there isn't really anything else I can do without it.

Mike
pulsecode replied on at Permalink Reply
pulsecode
Just PM'd you. If you have time to help, that would be great :^)
I'll post any findings back in here incase it can help anyone else.