[fusion-commits] r1923 - trunk/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed Sep 30 02:10:57 EDT 2009
Author: liuar
Date: 2009-09-30 02:10:53 -0400 (Wed, 30 Sep 2009)
New Revision: 1923
Modified:
trunk/lib/fusion.js
Log:
Fixed a problem that Sarafi can not get the application definition from server
Modified: trunk/lib/fusion.js
===================================================================
--- trunk/lib/fusion.js 2009-09-29 20:19:22 UTC (rev 1922)
+++ trunk/lib/fusion.js 2009-09-30 06:10:53 UTC (rev 1923)
@@ -1193,6 +1193,7 @@
var appDefUrl = Fusion.getQueryParam('ApplicationDefinition');
if(appDefUrl){
var xhr = new XMLHttpRequest();
+ xhr.overrideMimeType('html/xml');
var mapAgentUrl = getAgentUrl();
xhr.open("GET", mapAgentUrl + "?OPERATION=GETRESOURCECONTENT&VERSION=1.0.0&LOCALE=en&CLIENTAGENT=MapGuide+Developer&RESOURCEID=" + appDefUrl + "&FORMAT=text%2Fxml", false);
xhr.send(null);
More information about the fusion-commits
mailing list