diff options
author | Szymon Brandys <Szymon.Brandys@pl.ibm.com> | 2014-04-24 16:34:18 +0200 |
---|---|---|
committer | Szymon Brandys <Szymon.Brandys@pl.ibm.com> | 2014-04-24 16:35:16 +0200 |
commit | 1f52f6da218f23b1fb153b1ab90486ee688e1f17 (patch) | |
tree | 4808a091f484e8ba6f7bd6126152f5aacfb6e14c | |
parent | a4054b2efc5332f96e37bd06e5d29e3e149572f9 (diff) | |
download | org.eclipse.orion.client-origin/R6.0M1.zip org.eclipse.orion.client-origin/R6.0M1.tar.gz org.eclipse.orion.client-origin/R6.0M1.tar.bz2 |
Bug 433425 - Application deploy fails when there is no routeorigin/R6.0M1
-rw-r--r-- | bundles/org.eclipse.orion.client.cf/web/cfui/deploy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.cf/web/cfui/deploy.js b/bundles/org.eclipse.orion.client.cf/web/cfui/deploy.js index 49a9613..6984910 100644 --- a/bundles/org.eclipse.orion.client.cf/web/cfui/deploy.js +++ b/bundles/org.eclipse.orion.client.cf/web/cfui/deploy.js @@ -144,7 +144,7 @@ define(["orion/bootstrap", "orion/xhr", 'orion/webui/littlelib', 'orion/Deferred cFService.pushApp(selection, null, decodeURIComponent(deployResourceJSON.ContentLocation + deployResourceJSON.AppPath)).then(
function(result){
var appName = result.App.name || result.App.entity.name;
- var host = result.Route.host || result.Route.entity.host;
+ var host = (result.Route !== undefined ? (result.Route.host || result.Route.entity.host) : undefined);
postMsg({
CheckState: true,
ToSave: {
|