简体   繁体   English

Kendo ui Mobile Tabstrip选择不正确

[英]Kendo ui Mobile Tabstrip does not select correct

Normally when the Apps starts everything works fine. 通常,当应用启动时,一切正常。

now i have implemented my own i10n solution https://github.com/domiSchenk/phonegap-l10n/blob/master/localization.js 现在我已经实现了自己的i10n解决方案https://github.com/domiSchenk/phonegap-l10n/blob/master/localization.js

and i have a function to set the new Language (Localization.SetNewLang); 我有一个功能来设置新的语言(Localization.SetNewLang);
in this Function i invoke location.reload(); 在此函数中,我调用location.reload();

this works but sometimes one of my views does not get the id(line 12) correct, and i dont know why. 这有效,但有时我的观点之一无法获得正确的id(第12行),而且我不知道为什么。

01. _back: false
02. _events: Object
03. _paramsHistory: Array[1]
04. _size: Object
05. applicationNativeScrolling: false
06. container: Object[1]
07. content: Object[1]
08. defaultTransition: ""
09. element: Object[1]
10. footer: Object[1]
11. header: Object[1]
12. id: "/"
13. init: function (e) {
14. inited: true
15. layout: Object
16. loader: Object
17. model: null
18. options: Object
19. overlay: Object[1]
20. params: Object
21. scroller: Object
22. scrollerContent: Object[1]
23. show: function (e) {
24. title: "({Setting.title})"
25. transition: undefined
26. wrapper: Object[1]
27. __proto__: Object

this has the effect that this view is not right selected in tabstrip. 这样做的结果是,此视图未在Tabstrip中正确选择。

does anyone have an idea? 有人有主意吗?

i could no find the bug of this problem. 我找不到这个问题的错误。

what i did in the end is created static tabstrip. 我到底做了什么,创建了静态标签。
this is archived with deleting data-role="tabstrip" form html. 通过删除HTML格式的data-role =“ tabstrip”将其存档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM