mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
feature #3748: Show template id when instantiating a template
This commit is contained in:
parent
36edfc957a
commit
0a75d4a535
@ -200,7 +200,7 @@ define(function(require) {
|
||||
|
||||
if (!service_name.length){ //empty name
|
||||
for (var i=0; i< n_times_int; i++){
|
||||
Sunstone.runAction("ServiceTemplate.instantiate", [template_id], extra_info);
|
||||
Sunstone.runAction("ServiceTemplate.instantiate", template_id, extra_info);
|
||||
}
|
||||
} else {
|
||||
if (service_name.indexOf("%i") == -1){//no wildcard, all with the same name
|
||||
@ -209,7 +209,7 @@ define(function(require) {
|
||||
for (var i=0; i< n_times_int; i++){
|
||||
Sunstone.runAction(
|
||||
"ServiceTemplate.instantiate",
|
||||
[template_id], extra_info);
|
||||
template_id, extra_info);
|
||||
}
|
||||
} else { //wildcard present: replace wildcard
|
||||
for (var i=0; i< n_times_int; i++){
|
||||
@ -217,7 +217,7 @@ define(function(require) {
|
||||
|
||||
Sunstone.runAction(
|
||||
"ServiceTemplate.instantiate",
|
||||
[template_id], extra_info);
|
||||
template_id, extra_info);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user