Changed survey .js/css files to remove hardcoded absolute extras paths.

This commit is contained in:
Kaleb Murphy 2009-06-08 16:58:44 +00:00
parent 8a683d1aef
commit 34429aec62
3 changed files with 6 additions and 5 deletions

View file

@ -476,7 +476,7 @@ if (typeof Survey === "undefined") {
}
}
YAHOO.widget.Chart.SWFURL = "/extras/yui/build/charts/assets/charts.swf";
YAHOO.widget.Chart.SWFURL = "../../../extras/yui/build/charts/assets/charts.swf";
// Public API
Survey.Summary = {
globalSummaryDataTip: function(item, index, series){
@ -518,7 +518,7 @@ if (typeof Survey === "undefined") {
}
},
//only needed for flash player express install
expressInstall: "/extras/yui/build/charts/assets/charts.swf"
expressInstall: "../../../extras/yui/build/charts/assets/charts.swf"
});
//define section datatable columns
@ -585,7 +585,7 @@ if (typeof Survey === "undefined") {
xAxis: sectionAxis,
yAxis: responseAxis,
// dataTipFunction: Survey.Form.globalSummaryDataTip, //try again in 2.7
expressInstall: "/extras/yui/build/charts/assets/charts.swf"
expressInstall: "../../../extras/yui/build/charts/assets/charts.swf"
});
YAHOO.util.Event.addListener("submitbutton", "click", function(){ Survey.Comm.submitSummary(); });
@ -785,4 +785,4 @@ if (typeof Survey === "undefined") {
YAHOO.util.Event.onDOMReady(function(){
// Survey.Comm.setUrl('/' + document.getElementById('assetPath').value);
Survey.Comm.callServer('', 'loadQuestions');
});
});