Bug 418898 - [Projects] Cannot add project by plugin when addParameters are empty
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js b/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js
index 053d870..d9f1b5b 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js
@@ -421,6 +421,7 @@
 						var def = new Deferred();
 						var item = forceSingleItem(data.items);
 						var params = data.oldParams || {};
+						if(data.parameters)
 						for (var param in data.parameters.parameterTable) {
 							params[param] = data.parameters.valueFor(param);
 						}