WinJS.UI.Tooltip崩溃了应用程序 [英] WinJS.UI.Tooltip crashes the app
本文介绍了WinJS.UI.Tooltip崩溃了应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当动态构建的WinJS.UI.Tooltip包含一些希伯来语或阿拉伯语(RTL) 文本时,它会在第二次打开时使用非法脚本注入崩溃应用程序。
示例文本: נטליהרשלג
解决方法:清除然后每次打开工具提示时重建winControl.innerHTML。
解决方案
Y,
这对我来说很好。 这是你在做什么?
document.getElementById(" myBtn")。winControl.innerHTML ="נטליהרשלג";如果没有,请发布必要的步骤来重现您所看到的内容。
-Jeff
When a dynamically built WinJS.UI.Tooltip contains some Hebrew or Arabic (RTL) text, it crashes the app with illegal script injection when opened the second time.
Example text: נטלי הרשלג
Workaround: Clear and then rebuild the winControl.innerHTML each time the tooltip is opened.
解决方案
Y,
This works fine for me. Is this what you are doing?
document.getElementById("myBtn").winControl.innerHTML = "נטלי הרשלג";If not please post the steps necessary to repro what you are seeing.
-Jeff
这篇关于WinJS.UI.Tooltip崩溃了应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文