mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
M #~: Fix marketplace app create form (#1934)
This commit is contained in:
parent
ee683bac6b
commit
5aaecc6c98
@ -436,7 +436,7 @@ define(function(require) {
|
||||
|
||||
var newTemplate = $.extend(marketPlaceJSON, { ORIGIN_ID: String(templateId) });
|
||||
|
||||
Sunstone.runAction("MarketPlaceApp.import_vm_template", marketplaceIdSelected, newTemplate);
|
||||
Sunstone.runAction("MarketPlaceApp.import_vm_template", 0, newTemplate);
|
||||
},
|
||||
error: function(request, response) {
|
||||
Sunstone.hideFormPanelLoading(TAB_ID);
|
||||
@ -460,7 +460,7 @@ define(function(require) {
|
||||
marketPlaceJSON['IMPORT_ALL'] = marketPlaceJSON['IMPORT_ALL'] === 'on'
|
||||
marketPlaceJSON['MARKETPLACE_ID'] = marketplaceIdSelected;
|
||||
|
||||
Sunstone.runAction("MarketPlaceApp.import_vm_template", marketplaceIdSelected, marketPlaceJSON);
|
||||
Sunstone.runAction("MarketPlaceApp.import_vm_template", 0, marketPlaceJSON);
|
||||
|
||||
break;
|
||||
|
||||
@ -471,7 +471,7 @@ define(function(require) {
|
||||
marketPlaceJSON['MARKETPLACE_ID'] = marketplaceIdSelected;
|
||||
marketPlaceJSON['MARKETPLACE_SERVICE_ID'] = this.marketPlacesServiceTable.idInput().val();
|
||||
|
||||
Sunstone.runAction("MarketPlaceApp.import_service_template", marketplaceIdSelected, marketPlaceJSON);
|
||||
Sunstone.runAction("MarketPlaceApp.import_service_template", 0, marketPlaceJSON);
|
||||
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user