From: Loic Baron Date: Fri, 21 Mar 2014 09:24:54 +0000 (+0100) Subject: Testbeds list: fix network_hrn with \. in their name X-Git-Tag: myslice-1.1~180 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=fb4da1610987f1218a89d46ab6bd71ed914a086c;p=myslice.git Testbeds list: fix network_hrn with \. in their name --- 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);