From cf104bbaf9648600b4c45dbf93bd32106aeb5cd7 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Thu, 26 Jun 2014 13:24:51 +0200 Subject: [PATCH] feature #2909: Fix error in service refresh --- src/sunstone/public/js/plugins/oneflow-services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/public/js/plugins/oneflow-services.js b/src/sunstone/public/js/plugins/oneflow-services.js index 5e45b8ac21..bc39feb5e5 100644 --- a/src/sunstone/public/js/plugins/oneflow-services.js +++ b/src/sunstone/public/js/plugins/oneflow-services.js @@ -687,10 +687,10 @@ var service_actions = { call: function () { var tab = dataTable_services.parents(".tab"); if (Sunstone.rightInfoVisible(tab)) { - selected_row_role_id = $($('td.markrowchecked',servicerolesDataTable.fnGetNodes())[1]).html(); checked_row_rolevm_ids = new Array(); if (typeof(serviceroleVMsDataTable) !== 'undefined') { + selected_row_role_id = $($('td.markrowchecked',servicerolesDataTable.fnGetNodes())[1]).html(); $.each($(serviceroleVMsDataTable.fnGetNodes()), function(){ if($('td.markrowchecked',this).length!=0) {