We have fixed "undefined settings.rubik" in https://www.drupal.org/node/2557067
It works correct.

But if we have AJAX on page, we got same error, because "hook_preprocess_html()" doesn't start when we use AJAX request.
For example:
We have Node edit page and node has image field. When we upload new image, we have AJAX request and get error "undefined settings.rubik".

Comments

kraynuk.m created an issue. See original summary.

mikhailkrainiuk’s picture

Issue summary: View changes
mikhailkrainiuk’s picture

Issue summary: View changes
aramboyajyan’s picture

Assigned: Unassigned » aramboyajyan

Hi Mikhail, thanks for reporting this. Will have a look at it and keep this issue posted.

aramboyajyan’s picture

Status: Active » Needs review

Quick fix will be committed shortly; please check it and let me know if you are running into any issues.

I'll test this on my end as well.

  • topsitemakers committed 014b359 on 7.x-4.x
    Issue #2598088 by topsitemakers: Getting "TypeError: settings.rubik is...
mikhailkrainiuk’s picture

Status: Needs review » Reviewed & tested by the community

It works well. Thank you!

aramboyajyan’s picture

Status: Reviewed & tested by the community » Fixed

Welcome!

Status: Fixed » Closed (fixed)

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