Reviewed-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
       
On 12/18/2013 06:20 PM, Zhou Zheng Sheng wrote:
The current front-end implementation filter out disks from the free
block device listings. This is not needed after the previous back-end
pat correctly listing free disks.

Signed-off-by: Zhou Zheng Sheng <zhshzhou@linux.vnet.ibm.com>
---
 ui/js/src/kimchi.storagepool_add_main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/js/src/kimchi.storagepool_add_main.js b/ui/js/src/kimchi.storagepool_add_main.js
index 7efbfa0..02323f5 100644
--- a/ui/js/src/kimchi.storagepool_add_main.js
+++ b/ui/js/src/kimchi.storagepool_add_main.js
@@ -45,7 +45,7 @@ kimchi.initStorageAddPage = function() {
             var deviceHtml = $('#partitionTmpl').html();
             var listHtml = '';
             $.each(data, function(index, value) {
-                if (value.type === 'part') {
+                if (value.type === 'part' || value.type === 'disk') {
                     listHtml += kimchi.template(deviceHtml, value);
                 }
             });



Sheldon Feng(冯少合)
IBM Linux Technology Center

--
project-kimchi mailing list <project-kimchi@googlegroups.com>
https://groups.google.com/forum/#!forum/project-kimchi
---
You received this message because you are subscribed to the Google Groups "project-kimchi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-kimchi+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.