0
我在這裏描述的e-office blog有同樣的問題,但在我的情況下,它也發生在IE9。當我手動刷新頁面時,一切都重新開始。它看起來像JS聚合器試圖做的JavaScript文件的東西。使用運行時優化的Javascript
有沒有人找到這個解決方案?
這是我加載我的客戶端JavaScript文件的方式。 'xast.locationJS'變量是服務器上可以找到javascript文件的位置。
<xp:this.resources>
<xp:script clientSide="true">
<xp:this.src><![CDATA[${javascript:return applicationScope.get("xast.serverUrl") +"/" +applicationScope.get("xast.locationJS") + "/jquery-1.5.1.min.js"}]]></xp:this.src>
</xp:script>
<xp:script clientSide="true">
<xp:this.src><![CDATA[${javascript:return applicationScope.get("xast.serverUrl") + "/" + applicationScope.get("xast.locationJS") + "/jquery.hoverIntent.minified.js"}]]></xp:this.src>
</xp:script>
<xp:script clientSide="true">
<xp:this.src><![CDATA[${javascript:return applicationScope.get("xast.serverUrl") + "/" + applicationScope.get("xast.locationJS") + "/jquery.tools.min.js"}]]></xp:this.src>
</xp:script>
<xp:script clientSide="true">
<xp:this.src><![CDATA[${javascript:return applicationScope.get("xast.serverUrl") + "/" + applicationScope.get("xast.locationJS") + "/jquery-ui-1.8.14.custom.min.js"}]]></xp:this.src>
</xp:script>
<xp:script clientSide="true">
<xp:this.src><![CDATA[#{javascript:return applicationScope.get("xast.serverUrl") + "/" + applicationScope.get("xast.locationJS") + "/C2C_dojo.tools.js"}]]></xp:this.src>
</xp:script>
<xp:script clientSide="true">
<xp:this.src><![CDATA[#{javascript:return applicationScope.get("xast.serverUrl") + "/" + applicationScope.get("xast.locationJS") + "/CommonXmlFunctions.js"}]]></xp:this.src>
</xp:script>
<xp:script clientSide="true">
<xp:this.src><![CDATA[#{javascript:return applicationScope.get("xast.serverUrl") + "/" + applicationScope.get("xast.locationJS") + "/C2C_WebCaseSuggest.js"}]]></xp:this.src>
</xp:script>
<xp:script clientSide="true">
<xp:this.src><![CDATA[${javascript:return applicationScope.get("xast.serverUrl") + "/" + applicationScope.get("xast.locationJS") + "/uncompressed/xpUtils.js"}]]></xp:this.src>
</xp:script>
</xp:this.resources>
舌頭在臉頰:使用鉻框架 – stwissel 2012-03-21 13:32:57
Chrome框架...喲!恐怕出現這種情況,與任何瀏覽器無關,它也發生在Chrome和Firefox中。 – 2012-03-21 18:13:19
只是一個簡單的問題:爲什麼有些CSJS庫設置爲「在頁面加載時計算」,有些設置爲「動態計算」? – 2012-03-22 12:14:17