[英]Invalid argument JavaScript exception in IE 8 issue with ExtJS in moveItem function
以下是文件ext-all-dev.js中的代碼片段。 下面的JavaScript例外僅在Internet Explorer 8(IE)中發生。 我沒有嘗試過任何其他版本的Internet Explorer。 當我在運行應用程序時在此代碼行上放置斷點時,瀏覽器將在IE中凍結。 所以我沒有辦法解決IE中的問題。 有沒有一種簡單的方法來告訴可能使用什么代碼調用此行? 我感覺到某些拖放功能可能是造成這種情況的原因(由於功能注釋),但這只是一個猜測。 我目前唯一的選擇是開始使用Google Chrome或Mozilla Firefox進行向后跟蹤。 我只是在尋求有關故障排除的建議,除非您知道可能導致此問題的原因。
/**
* Moves Component to the provided target instead.
* @private
*/
moveItem : function(item, target, position) {
target = target.dom || target;
if (typeof position == 'number') {
position = target.childNodes[position];
}
target.insertBefore(item.el.dom, position || null); // line 51942
item.container = Ext.get(target);
this.configureItem(item);
},
例外:
Invalid argument.
ext-all-dev.js line 51942 character 9
將樹形拖放式插件的完全限定類名放入require config中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.