From fb4da1610987f1218a89d46ab6bd71ed914a086c Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Fri, 21 Mar 2014 10:24:54 +0100 Subject: [PATCH] Testbeds list: fix network_hrn with \. in their name --- plugins/testbeds/static/js/testbeds.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/testbeds/static/js/testbeds.js b/plugins/testbeds/static/js/testbeds.js index dfe88553..f26602e6 100644 --- a/plugins/testbeds/static/js/testbeds.js +++ b/plugins/testbeds/static/js/testbeds.js @@ -134,6 +134,8 @@ e.stopPropagation(); value = this.dataset['platform']; + // handle the hrn that include . in their name (has to be in sync with the data from SFA) + value = value.replace(/\./g,"\\."); key = "network_hrn"; op = "included"; return $(this).hasClass('active') ? self._addFilter(key, op, value) : self._removeFilter(key, op, value); -- 2.47.0