mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge pull request #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>
This commit is contained in:
commit
48ade05370
@ -278,9 +278,6 @@
|
||||
$td.addClass('blank');
|
||||
}
|
||||
|
||||
// Align width to main header
|
||||
_medit.refreshItemWidths($multi);
|
||||
|
||||
if (data._hideFields &&
|
||||
$.inArray(fieldName, data._hideFields) > -1) {
|
||||
$td.addClass('disabled');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user