summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarolyn MacLeod <Carolyn_MacLeod@ca.ibm.com>2016-11-01 15:52:31 +0000
committerCarolyn MacLeod <Carolyn_MacLeod@ca.ibm.com>2016-11-01 15:52:31 +0000
commit4f6fb9de55e16948e7ad115cc7c27d44de2eb290 (patch)
tree1df778a2ccd006d919dba6ac15fd853a3964145f
parent79c7898cd37c77d14421f459c0098e2a6702f606 (diff)
downloadorg.eclipse.orion.client-4f6fb9de55e16948e7ad115cc7c27d44de2eb290.zip
org.eclipse.orion.client-4f6fb9de55e16948e7ad115cc7c27d44de2eb290.tar.gz
org.eclipse.orion.client-4f6fb9de55e16948e7ad115cc7c27d44de2eb290.tar.bz2
Bug 506842 - Runbar combo needs to have a label even when disabled
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/widgets/projects/RunBar.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/projects/RunBar.js b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/projects/RunBar.js
index fc4ea46..2118942 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/projects/RunBar.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/widgets/projects/RunBar.js
@@ -57,6 +57,7 @@ define([
this._editorInputManager = options.editorInputManager;
this._initialize();
+ this._setLaunchConfigurationsLabel(null);
this._disableAllControls(); // start with controls disabled until a launch configuration is selected
}
@@ -821,7 +822,7 @@ define([
this._launchConfigurationsLabel.appendChild(this._appName);
this._launchConfigurationsLabel.appendChild(this._appInfoSpan);
} else {
- this._setText(this._launchConfigurationsLabel, this._project ? messages["selectLaunchConfig"] : null); //$NON-NLS-0$
+ this._setText(this._launchConfigurationsLabel, messages["selectLaunchConfig"]); //$NON-NLS-0$
}
},