Hello,

I have a problem on panel pages. I can't add content to my panel pages...

When I try add new content, appears a window loading (img1.kpg) but a few seconds after disappears (img2.jpg).... It is strange

I tryed with IE 11 and Chrome and i get the same bug/error

I had panels models working perfectly since drupal 7.22, now I have 7.26 drupal version and I can't edit/add new content to any panel....

Any help?

Comments

mlove2k2’s picture

I too am having the same issue. When trying to edit existing Panels content I get the same white loading window. The JavaScript console delivers the following error:

Uncaught TypeError: Object [object Object] has no method 'once' VM3880:65
Drupal.behaviors.fillUserInfoFromCookie.attach VM3880:65
(anonymous function) drupal.js?n0l1sj:76
jQuery.extend.each jquery.js?v=1.7.1:652
Drupal.attachBehaviors drupal.js?n0l1sj:74
Drupal.ajax.commands.insert ajax.js?v=7.26:542
Drupal.ajax.success ajax.js?v=7.26:400
ajax.options.success ajax.js?v=7.26:164
fire jquery.js?v=1.7.1:1046
self.fireWith jquery.js?v=1.7.1:1164
done jquery.js?v=1.7.1:7399
callback

Any ideas on how I might be able remedy this?

Thanks!

ML

dinotav’s picture

I think that the problem is on ADVANCED CSS/JS AGGREGATION module...

I disabled the module and panels module works fine!

jesperhaun’s picture

Same problem here. I have two more or less identical sites, and the error is only on one of them. All windows in edit panels (edit, style..) don't load. Just a white window with loading icon.

sonicthoughts’s picture

same. running panopoly.

JulienThomas’s picture

StatusFileSize
new474 bytes

Hi.

This comes from misc/form.js ( see #1781520).

The error raises in backend as cookie is not set in the form (done by the user on register and comment modules).

The only fix I can think of consist in patching misc/form.js on Drupal.behaviors.fillUserInfoFromCookie

Drupal.behaviors.fillUserInfoFromCookie = {
  attach: function (context, settings) {
 + if( $('form.user-info-from-cookie').size() > 0)
    $('form.user-info-from-cookie').once('user-info-from-cookie', function () {

Exact patch attached

m1r1k’s picture

Status: Active » Needs review
StatusFileSize
new1.12 KB

new one

Status: Needs review » Needs work

The last submitted patch, 6: drupal-misc-form-js-2189841-2.patch, failed testing.

dsnopek’s picture

Status: Needs work » Closed (outdated)

I'm pretty sure this is fixed now :-) Feel free to reopen if I'm wrong!