Final correction on extras path error for administersurvey.js. surveyedit.css should be placed in a snippet using Extras macro.

This commit is contained in:
Kaleb Murphy 2009-06-08 18:54:27 +00:00
parent 9fbd21ee9e
commit 987a78fe5c

View file

@ -475,8 +475,8 @@ if (typeof Survey === "undefined") {
}
}
}
YAHOO.widget.Chart.SWFURL = "../../../extras/yui/build/charts/assets/charts.swf";
var chartsUrl = getWebguiProperty('extrasURL') + "/yui/build/charts/assets/charts.swf";
YAHOO.widget.Chart.SWFURL = chartsUrl;
// 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: chartsUrl
});
//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: chartsUrl
});
YAHOO.util.Event.addListener("submitbutton", "click", function(){ Survey.Comm.submitSummary(); });