Использую сервисы plugins.Locale и plugins.Theme.
Прекрасно заработали сразу. Пока не повесил их на sidemenu.
Не могу с той поры выйти из ошибки (ниже диагностика из DevTools Chrome для ‘locale’, то же самое и для ‘theme’), может быть подобная проблема имела место у кого-нибудь? Как решать?, всё перепробовал (вызывается
setLang(value, false), чтобы сделать refresh с изменённым языком, там и вызываются дектрукторы):
JetView.js:114 Uncaught TypeError: Cannot read property 'destructor' of undefined
at JetViewRaw.destructor (JetView.js:114)
at TopView.destructor (JetView.js:107)
at JetApp.refresh (JetApp.js:90)
at Object.setLang (Locale.js:24)
at TopView.toggleLanguage (topview.js:452)
at result.onChange (topview.js:342)
at result.callEvent (webix_debug.js:574)
at result.setValue (webix_debug.js:9004)
at result._applyChanges (webix_debug.js:9296)
at HTMLSelectElement.<anonymous> (webix_debug.js:247)
destructor @ JetView.js:114
destructor @ JetView.js:107
refresh @ JetApp.js:90
setLang @ Locale.js:24
TopView.toggleLanguage @ topview.js:452
onChange @ topview.js:342
callEvent @ webix_debug.js:574
setValue @ webix_debug.js:9004
_applyChanges @ webix_debug.js:9296
(anonymous) @ webix_debug.js:247
19:53:57.506