Since updating to alpha 14, I cannot use Drag and Drop any more.
Only directly after adding a content item (while the title bar of the item is still yellow) I can Drag and Drop. After saving the panel, it doesn't work anymore. The title bar turns to red when trying to drag an item.

CommentFileSizeAuthor
#22 Picture 5.png23.83 KBpribeh
#20 Picture 4.png44.3 KBpribeh

Comments

merlinofchaos’s picture

What browser are you using?

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)
alex ua’s picture

I have the same exact problem, using Firefox. I also cannot edit the settings of any pane until I add a new pane, after which I can both edit and move the older panes. Also, when I try to do either the pane turns from blue to red.

nath’s picture

Status: Postponed (maintainer needs more info) » Active

I tried it using Firefox on Linux and OSX.

troy.ronda’s picture

Perhaps you have jquery update installed.

See: http://drupal.org/node/194798

autonetex’s picture

Same with me. I did not applied any jquery updates.
I can't add, move, edit the panes. In any browser.

nath’s picture

I do have jquery update.

nath’s picture

It also happens with the standard jquery version. Internet Explorer also shows this bug - it doesn't seem to depend on the browser.

troy.ronda’s picture

interesting. Once I copied the old jquery.js file from DRUPAL 5.3 to the misc/ directory, everything worked again.

merlinofchaos’s picture

Ok, clearly something I put in the new .js doesn't work right in a newer jquery. Anyone running firebug who could tell me what is failing?

troy.ronda’s picture

t has no properties
e(undefined, "changed")jquery.js (line 2)
e(0, "changed")jquery.js (line 2)
e(["changed"], function(), undefined)jquery.js (line 2)
e(Document content, "changed")jquery.js (line 2)
e("changed")jquery.js (line 2)
e([Document content], function(), ["changed"])jquery.js (line 2)
e(function(), ["changed"])jquery.js (line 2)
e()jquery.js (line 2)
changed([Document content])display_editor.js (line 12)
attachPane(Document content)display_editor.js (line 42)
autoAttach()display_editor.js (line 43)
e()jquery.js (line 2)
e()jquery.js (line 2)
e([function(), function(), function(), 1 more...], function(), undefined)jquery.js (line 2)
e()jquery.js (line 2)
[Break on this error] eval(function(p,a,c,k,e,d){e=function(c){return(c jquery.js (line 2)

troy.ronda’s picture

The problem is with this line:

Drupal.Panels.changed($(parent));

in the function Drupal.Panels.attachPane

cangeceiro’s picture

same issue here. no drag and drop, nor can i edit or remove panes. here is my firebug output

t has no properties
e(undefined, "changed")jquery.js (line 2)
e(0, "changed")jquery.js (line 2)
e(["changed"], function(), undefined)jquery.js (line 2)
e(Document content, "changed")jquery.js (line 2)
e("changed")jquery.js (line 2)
e([Document content], function(), ["changed"])jquery.js (line 2)
e(function(), ["changed"])jquery.js (line 2)
e()jquery.js (line 2)
changed([Document content])display_editor.js (line 120)
attachPane(Document content)display_editor.js (line 488)
autoAttach()display_editor.js (line 506)
e()jquery.js (line 2)
e()jquery.js (line 2)
e([function(), function(), function(), 2 more...], function(), undefined)jquery.js (line 2)
e()jquery.js (line 2)
[Break on this error] eval(function(p,a,c,k,e,d){e=function(c){return(c jquery.js (line 2)

$events
Object historyReset=Object
onhistoryReset
function()
nodeType
9
nodeName
"#document"
localName
null
prefix
null
namespaceURI
null
nodeValue
null
ownerDocument
null
parentNode
null
nextSibling
null
previousSibling
null
firstChild
DocumentType nodeName=html nodeType=10 parentNode=document
lastChild
html.js
childNodes
[DocumentType nodeName=html nodeType=10 parentNode=document, html.js]
attributes
null
dir
"ltr"
baseURI
"/drupal/admin/panels/panel-page/Venues/edit/content"
textContent
null
documentElement
html.js
body
body
title
"Venue Management Console"
location
"/drupal/admin/panels/panel-page/Venues/edit/content"
referrer
"/drupal/admin/panels/panel-page/Venues/edit/content"
cookie
"has_js=1; has_js=1; has_js=1; has_js=1; collapsiblock-block-node-0=0; collapsiblock-block-event-1=0;..."
contentType
"text/html"
lastModified
"11/27/2007 13:49:24"
characterSet
"UTF-8"
inputEncoding
"UTF-8"
xmlEncoding
null
xmlStandalone
false
xmlVersion
null
strictErrorChecking
true
documentURI
"/drupal/admin/panels/panel-page/Venues/edit/content"
URL
"/drupal/admin/panels/panel-page/Venues/edit/content"
defaultView
Window content
doctype
DocumentType nodeName=html nodeType=10 parentNode=document
implementation
DOMImplementation
styleSheets
[StyleSheet content, StyleSheet content, StyleSheet content]
images
[img#logo logo.png, img close.gif, img throbber.gif]
links
[a drupal, a.1-1 menu, a.menu-1-1-1 node, 30 more...]
forms
[form#panels-edit-display content]
anchors
[]
embeds
[]
plugins
[]
applets
[]
width
1265
height
722
designMode
"off"
compatMode
"CSS1Compat"
preferredStylesheetSet
""
alinkColor
"#ee0000"
linkColor
"#0000ee"
vlinkColor
"#551a8b"
bgColor
"#edf5fa"
fgColor
"#000000"

peterpoe’s picture

If I remove line 521 ( Drupal.Panels.changed($(parent)); ) of display_editor.js, all errors are gone.
If I remove line 153 of display_editor.js:
item.toggleClass('changed');
the error is gone too, but it seems that the Drupal.Panels.attachPane function is run once with 'html' as parent item!

nath’s picture

I commented out line 521. That seems to work for me, but I guess there are some side-effects of not having that line?

merlinofchaos’s picture

The side effect is that you won't get the yellow notifications of which panes have been modified; which is probably a fairly minor side effect. If you get this problem, go ahead and comment that line out, for now.

sbarsky’s picture

I only have 510 lines in my display_editor.js

The comment line at the top is:

// $Id: display_editor.js,v 1.1.2.24 2007/11/21 21:47:28 merlinofchaos Exp $

And this file came from the alpha14 download.

Did I not get the correct file, or should I comment out line 488 where I found:

Drupal.Panels.changed($(parent));

merlinofchaos’s picture

Status: Active » Fixed

That is the correct line.

I believe that this is now fixed in CVS, and the -dev version should be generated soon which should contain that fix. It also contains some other stuff, so if you do choose to use the -dev version to work around this bug, be sure to hit update.php.

nath’s picture

Yes, the -dev version fixed this issue for me. Thanks.

pribeh’s picture

StatusFileSize
new44.3 KB

I tried commenting out Drupal.Panels.changed($(parent));
But to no avail. I still can't edit content or drag and drop. Selecting the content section also removes the sidebars of the page. Also, where can I find the dev version of 2.0? Here's my output anyway (image of display attached):

t has no properties
e(undefined, "changed")jquery.js (line 2)
e(0, "changed")jquery.js (line 2)
e(["changed"], function(), undefined)jquery.js (line 2)
e(Document content, "changed")jquery.js (line 2)
e("changed")jquery.js (line 2)
e([Document content], function(), ["changed"])jquery.js (line 2)
e(function(), ["changed"])jquery.js (line 2)
e()jquery.js (line 2)
changed([Document content])display_editor.js (line 120)
attachPane(Document content)display_editor.js (line 488)
autoAttach()display_editor.js (line 506)
e()jquery.js (line 2)
e()jquery.js (line 2)
e([function(), function(), function(), 4 more...], function(), undefined)jquery.js (line 2)
e()jquery.js (line 2)
[Break on this error] eval(function(p,a,c,k,e,d){e=function(c){return(c

merlinofchaos’s picture

On http://drupal.org/project/panels click on 'view all releases' and search for -dev. It's pretty easy to find there. Beware that it can be more or less stable depending on what I've been working on that week so be cautious with it. I am a little sloppy with my checkins sometimes.

pribeh’s picture

StatusFileSize
new23.83 KB

Thanks for the response.

unfortunately the display issue is not resolved by using the -dev version. Firebug no longer reads the error but now there are no longer any panes showing (image attached) in either Firefox, Explorer or Safari, OS X or Windows.

pribeh’s picture

Really weird info to add! I was messing around and discovered that the mini-panels content interface works - looks and works great by the way! But regardless of whether I go to create a new panel page or use an existing panel page I get what was described above in my last post - nothing to work with.

merlinofchaos’s picture

When you upgraded to the -dev version, did you run update.php? If you have not, can you hit update.php and make sure you don't need database changes?

manimal’s picture

I'm working with pribeh (hi tom! haha).. I was the one that upgraded to the dev of panels2, I also ran the update.php script after upgrading the module.

pribeh’s picture

merlinofchaos,

Still no luck. I'm even on a separate PC computer (using FF) and get the same display, as I do using two different macs with both FF and Safari, even after running the -dev version and after my partner updated the php script. It also does not display properly under Ubuntu. I'm beginning to suspect something else (a module perhaps) is interfering. What do you think?

Update: I've checked using different themes. No luck.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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