Commit f7ec8f0e replaced kimchi.template to kimchi.substitute but a
occurence was not properly updated.
And it was preventing user to extend a logical pool as any partition
was displayed.
Fix it.
Signed-off-by: Aline Manera <alinefm(a)linux.vnet.ibm.com>
---
ui/js/src/kimchi.storage_main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.storage_main.js b/ui/js/src/kimchi.storage_main.js
index 49fcc4a..849eb5e 100644
--- a/ui/js/src/kimchi.storage_main.js
+++ b/ui/js/src/kimchi.storage_main.js
@@ -216,7 +216,7 @@ kimchi.initLogicalPoolExtend = function() {
if (data.length > 0) {
for(var i=0;i<data.length;i++){
if (data[i].type === 'part' || data[i].type ===
'disk') {
- $('.host-partition',
'#logicalPoolExtend').append(kimchi.template($('#logicalPoolExtendTmpl').html(),
data[i]));
+ $('.host-partition',
'#logicalPoolExtend').append(kimchi.substitute($('#logicalPoolExtendTmpl').html(),
data[i]));
}
}
} else {
--
1.9.3