Hi Earl,

Panels 2 really starts to look great!
I downloaded the latest .dev version (Last updated: December 20, 2007 - 00:08).
I saw the panels-pane content adding interface has got a new design, looks great.

But in Internet Explorer 6 I can't add a pane. Clicking on the new "+" sign gives 1/10 second blank screen and then you are back without the little panel-pane adding popup.
It works normal in Firefox, but not on IE6. I deinstalled the devel module, while a time ago these modules interfered, but that didn't help either.

Further this module gets the functionallity I really like!
Greetings,
Martijn

CommentFileSizeAuthor
#28 modal_resize.patch400 byteskatbailey
#9 mc.js_.patch2.28 KBsmoothify

Comments

wim leers’s picture

Status: Active » Postponed (maintainer needs more info)

You're sure you don't have jquery_update installed?

summit’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Hi Wim,

No I have jquery_update not installed. I had it installed a month ago, and then I disabled it 2 weeks ago because I heard panels 2 was not (yet) compatible with jquery. Your remark made me think that uninstalling jquery alone is not enough!
So now I also deleted the jquery.js which needs to be updated in drupal55/misc for jquery_update!! That was the missing link for me!

With changing back jquery.js to the old drupal install of jquery.js, the edit/content popup works again on Firefox and on IE6.

Will panels 2 be compatible with jquery some day? Because some modules, which I would like to use, need jquery_update?

Thanks a lot for your suggestion, which leads me to the right path for my solution Wim!!

Great year-ending for you!!!

Greetings,
Martijn

merlinofchaos’s picture

Title: Latest dev. version Panels-pane popup window not appearing on Internet Explorer 6 » Panels 2 currently not compatible with jquery update

I hope to work on that, because it's turning out to be a serious issue.

summit’s picture

Hi Earl,

thanks for your reply!, yes more and more modules gone depend on jquery_update, so great you are working on this!
And because you are not there with only disabling the module, but you also need to alter back the jquery.js in misc, I think lot of people will forget this, like I did :(.
A good yearending to you Earl!

greetings,
Martijn

merlinofchaos’s picture

Status: Closed (works as designed) » Active
summit’s picture

Hi,

The latest Panels 2.dev is by the way not only depending on disabling jquery_update but also jstools.module will not work with Panels 2.dev.

Greetings,
Martijn

merlinofchaos’s picture

Priority: Normal » Critical

Bumping priority.

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

I set up a test site with jquery update and panels 2 and I can't find any incompatibilities at this time. I fear any incompatibilites we're seeing here may be the result of a complex interaction with other .js files.

We're going to need to narrow down exactly what is failing with minimal additions so it can be reproduced.

smoothify’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new2.28 KB

I tried getting panels 2 to work with jquery_update and i encounter an error with the modalcontent jquery plugin (panels/js/lib/mc.js).

The error is related to the .top and .left functions which don't seem to exist in jquery 1.1 +

the modalContent plugin seems to be discontinued and hasn't been updated to work with newer versions of jquery - see http://dev.jquery.com/ticket/501

The link to content drupal module seems to have encountered similar problems with the top function here
http://drupal.org/node/147025#comment-561028

I've added a patch that fixes the issue i was having (when you go click the panels settings icon on the content tab) and that now works.

Whether there are more problems with jquery 1.1, i'm not sure, but for me at least its usable.

HTH

Ben

patchak’s picture

Hey there,

I too have this problem once I install Jquery Update.

Here is some info I can provide:

Drupal version : 5.7
JQuery is 1.1.2
php : 5.2.5

Modules installed related to anything JS:

Fasttoggling
Js tools 5.x-0.8
Panels 5.x-2.0-beta2
jQuery Update 5.x-1.0
jQuery Interface 5.x-1.0

that's it!

I will test the patch posted above and report back,

Any more info I could provide?
Patchak

okday’s picture

subscribing.

patchak’s picture

I tested the patch attached at #9 and it does not solve anything for me.

I get this error in firebug when I try to add or modify some content

syntax error
};\n

on line 111

Any ideas?

@Merlinofchaos : maybe you could try to add jstools to your test install to see if the panels 2 still works with that module installed?

wim leers’s picture

merlinofchaos is *aware* of this. He simply has not yet found the time to make it compatible.

patchak’s picture

Hey Wim.
According to #8 we are still looking for which module creates the incompatibility? Just trying to help here.

patchak’s picture

Just to add a little more info.. I tried to come back to the old jQuery version that comes with drupal 5 and to disable jQuery interface and jQuery update modules.

I can have arguments working with both versions of jQuery, the pop up for arguments works, but it did not re-enable the pop up for the content tab and sections.

So I think it's not only about jQuery update and the jQuery versions since putting back the old jQuery version does not seem to change anything...

I get these errors on firebug after reverting to the original jQuery...

Drupal.Panels has no properties
Drupal.Panels.clickAdd = function() {
display_editor.js (line 9)

Drupal.Panels has no properties
Drupal.Panels.Checkboxes = {};
checkboxes.js (line 3)

Drupal.Panels has no properties
Drupal.Panels.Subform = {};
modal_forms.js (line 3)

Hope this helps, I'm planning on removing all Js related modules one at a time until something works with jQuery update like on merlin's test install, I'll tell you how it goes.

Patchak

merlinofchaos’s picture

patchak: That's a different bug. -dev fixes that one.

patchak’s picture

I just installed the latest dev version, maybe I was out of date for a couple of weeks... It seems to have fixed the issue. I installed the jQuery version that comes with jQuery update, and now all is fine.

Great!

Patchak

gracearoha’s picture

so are you also successfully using other.js modules with panels and the jquery update? if so, which ones?

merlinofchaos’s picture

http://drupal.org/node/228700 is duplicate of this. contains alternate patch that should be looked at.

ruralrooster’s picture

still not working for me...

omnyx’s picture

does this bug affect only the dev version or both the dev and the beta version?

patchak’s picture

@GraceAhora: I can confirm that panels 2 is working for me with all the modules installed in my comment in no. 10... I;m now using the dev version of panels 2 and the bug seems gone.

Patchak

gracearoha’s picture

Patchak: it is now also working for me with all my modules enabled. My problem had nothing to do with js. In fact it was because the cache was too small. See http://drupal.org/node/230337

dgtlmoon’s picture

I had the same symptoms but turned out firefox wasnt loading some of the .js files, it must have picked them up as 404 initially, i hit shift+reload and magically it started working again :(

obsidiandesign’s picture

+1 that the patch in #9 + the current -dev version fixes this bug.

sdboyer’s picture

Status: Needs review » Fixed

Patch has been committed; this issue has been resolved as of beta3.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

katbailey’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new400 bytes

Hope it's ok for me to re-open this issue. There was one more slight problem in mc.js causing problems with the window resize function. See attached patch.

merlinofchaos’s picture

Status: Needs review » Fixed

Applied. Thanks katbailey!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.