Merge pull request #1394 from nitin-maharana/CloudStack-Nitin25_4.7

CLOUDSTACK-9268: Display VM in Load balancing rule in UISteps of Repro:
=============
1:Create VMs
2:Make LoadBalancing rule in GUI
Name:WWW
PrivatePort:80
PublicPort:80
Add VMs:some VMs

Expected Result:
==============
The VMs which has been already assigned is should not be listed when you add the VM to an existing rule.

Actual Result:
===========
The VMs which has been already assigned is still being listed when you add the VM to an existing rule.

Fix:
===
Added jsonObj to newly created row in multiedit.js to stop listing the same VM again.

* pr/1394:
  CLOUDSTACK-9268: Display VM in Load balancing rule in UI

Signed-off-by: Koushik Das <koushik@apache.org>
This commit is contained in:
Koushik Das 2016-04-19 16:31:50 +05:30
commit e3e5be8ded
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@
$(data).each(function() {
var item = this;
var $itemRow = _medit.multiItem.itemRow(item, options.itemActions, multiRule, $tbody);
$itemRow.data('json-obj', item);
$itemRow.appendTo($tbody);
newItemRows.push($itemRow);