When I login by user, ajax load work only on first click, after that I have this messages in Firebug:

TypeError: Drupal.settings.urlIsAjaxTrusted is undefined
if (Drupal.settings.urlIsAjaxTrusted[element_settings.url]) {

ajax.js?v=7.39 (строка 136)

By anonymous everything fine.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sora_tm created an issue. See original summary.

Sora_tm’s picture

Update: by anonymous the same problem.

fortis’s picture

Priority: Normal » Critical
Status: Active » Needs work

Same problem, it caused by recent changes in drupal core (7.29)

fortis’s picture

Status: Needs work » Needs review
FileSize
814 bytes

There is patch, thanks to @Sora_tm ;)

fortis’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Sora_tm’s picture

Title: Does not working when login by user » Does not working with Drupal 7.39
Status: Needs review » Reviewed & tested by the community
jamix’s picture

Re-rolling #4 without the unnecessary space in function(). Will be happy to commit once this is confirmed.

fortis’s picture

confirmed.
i will fix another code style issues as separate task

  • jamix committed 6df935b on 7.x-1.x authored by Sora_tm
    Issue #2571447 by Sora_tm: Does not working with Drupal 7.39
    
jamix’s picture

Status: Reviewed & tested by the community » Fixed

Committed and rolled out in 7.x-1.1. Thanks!

Status: Fixed » Closed (fixed)

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

shevgeny’s picture

Title: Does not working with Drupal 7.39 » Does not working with Drupal 7.52

The problem is similar to the version 7.52
How can I solve?