Closed (fixed)
Project:
Panels
Version:
5.x-2.0-alpha14
Component:
Drag and Drop display editing
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2007 at 14:25 UTC
Updated:
2 Jan 2008 at 01:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
merlinofchaos commentedWhat browser are you using?
Comment #2
merlinofchaos commentedComment #3
alex ua commentedI 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.
Comment #4
nath commentedI tried it using Firefox on Linux and OSX.
Comment #5
troy.ronda commentedPerhaps you have jquery update installed.
See: http://drupal.org/node/194798
Comment #6
autonetex commentedSame with me. I did not applied any jquery updates.
I can't add, move, edit the panes. In any browser.
Comment #7
nath commentedI do have jquery update.
Comment #8
nath commentedIt also happens with the standard jquery version. Internet Explorer also shows this bug - it doesn't seem to depend on the browser.
Comment #9
troy.ronda commentedinteresting. Once I copied the old jquery.js file from DRUPAL 5.3 to the misc/ directory, everything worked again.
Comment #10
merlinofchaos commentedOk, 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?
Comment #11
troy.ronda commentedt 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)
Comment #12
troy.ronda commentedThe problem is with this line:
Drupal.Panels.changed($(parent));
in the function Drupal.Panels.attachPane
Comment #13
cangeceiro commentedsame 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"
Comment #14
peterpoe commentedIf 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!
Comment #15
nath commentedI commented out line 521. That seems to work for me, but I guess there are some side-effects of not having that line?
Comment #16
merlinofchaos commentedThe 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.
Comment #17
sbarsky commentedI 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));Comment #18
merlinofchaos commentedThat 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.
Comment #19
nath commentedYes, the -dev version fixed this issue for me. Thanks.
Comment #20
pribeh commentedI 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
Comment #21
merlinofchaos commentedOn 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.
Comment #22
pribeh commentedThanks 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.
Comment #23
pribeh commentedReally 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.
Comment #24
merlinofchaos commentedWhen 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?
Comment #25
manimal commentedI'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.
Comment #26
pribeh commentedmerlinofchaos,
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.
Comment #27
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.