Project

General

Profile

Bug #2078 » progressive_deploy_path_fix_20130730a.diff

Bruce Toll, 07/31/2013 02:17 PM

View differences:

src/web/WebRenderer.C
script.setVar("SESSION_URL", WWebWidget::jsStringLiteral(sessionUrl()));
std::string deployPath = session_.env().publicDeploymentPath_;
if (deployPath.empty())
if (deployPath.empty() || pageId_ == 2)
deployPath = session_.deploymentPath();
script.setVar("DEPLOY_PATH", WWebWidget::jsStringLiteral(deployPath));
(2-2/2)