Testbeds list: fix network_hrn with \. in their name
[myslice.git] / plugins / testbeds / static / js / testbeds.js
index dfe8855..f26602e 100644 (file)
                 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);