12345678910111213141516171819202122232425262728293031323334353637 |
- function CUpgrade()
- {
- };
- CUpgrade.prototype = new AFeatureObject();
- CUpgrade.prototype.setup = function (aFeatureParams)
- {
- if (cfgGet("upgradeObject") == null ||
- cfgGet("upgradeModel") == null ||
- cfgGet("NewReport") == true ||
- cfgGet("FirstRunQS") == false)
- {
- return;
- }
- var urlParams = "b_action=xts.run&m=qs/upgradeModel.xts&obj=" + cfgGet("upgradeObject");
- urlParams += "&model=" + cfgGet("upgradeModel");
- getReportFrame().location.replace(goApplicationManager.get("scriptEngine") + "?" + constructGETRequestParamsString(urlParams));
- };
|