Remove error when a marketplace appliance is clicked

This commit is contained in:
Daniel Molina committed 2013-04-24 19:31:23 +02:00
1 parent 561cdc7036
commit 29895c29f2
1 file changed
+3 -1
+3 -1
View File
@@ -1190,7 +1190,9 @@ var OpenNebula = {
"resource" : "MARKETPLACE",
"show" : function(params){
params.error = notifyError("Cannot connect with OpenNebula Marketplace");
params.error = function() {
return notifyError("Cannot connect with OpenNebula Marketplace")
};
OpenNebula.Action.show(params,OpenNebula.Marketplace.resource);
},
"list" : function(params){