Skip to content

Commit 48ade05

Browse files
committed
Merge pull request apache#1081 from nitin-maharana/CloudStack-Nitin15
CLOUDSTACK-9068: Listing Port Forwarding Rules take too much time to loadFor setting the width of each data item for each row of Port Forwarding rules, it was processing all rules. Basically for each data item, it was searching in all rules, which is un-necessary. If there are N-Rules, It was processing N-times. Now, it only processes one time by taking all N-rules at a time. The previous solution was of O(NxN). Now its changed to O(N). * pr/1081: CLOUDSTACK-9068: Listing Port Forwarding Rules take too much time to load Signed-off-by: Remi Bergsma <github@remi.nl>
2 parents 9960593 + 48df255 commit 48ade05

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎ui/scripts/ui/widgets/multiEdit.js‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,6 @@
278278
$td.addClass('blank');
279279
}
280280

281-
// Align width to main header
282-
_medit.refreshItemWidths($multi);
283-
284281
if (data._hideFields &&
285282
$.inArray(fieldName, data._hideFields) > -1) {
286283
$td.addClass('disabled');

0 commit comments

Comments
 (0)