Hi,
I have a problem with using commerce kickstart 2.30,

When i add other language, and set as default language, admin/modules "Navbar" module broken js:

Uncaught TypeError: this.$el.off is not a function
backbone-min.js

And when this js error appear in chrome console also "Module filter" module not working and page direction back to LTR in RTL languages.

In Commerce Kickstart 2.27 worked correctly.

I think founded problem in features module:

https://www.drupal.org/node/2610862

Features module called drupal_static_reset in _features_set_export_language() (features.module line 1255)

And from navbar_library_alter function, get jquery version from drupal_static function:
$jquery_version = &drupal_static(__FUNCTION__, NULL); and this return null so ducktape.events.js not loaded.

thanks

Comments

mahyarss created an issue. See original summary.

mahyarsbt’s picture

Issue summary: View changes
eshta’s picture

I'm not sure if this would be the culprit as the jQuery version is set when the alter function is called with the system module libraries unless you are saying that this drupal_static_reset function in the features module is called in between the alter function for the system module and the alter function for the navbar module? The function in question here doesn't seem to get called in that way - in fact it doesn't get called on every page so I don't *think* it's the culprit we're looking for.