Merge pull request #846 from DimalChandrasiri/master

fixes wso2/product-iots#1141
revert-70aa11f8
Madhawa Perera 7 years ago committed by GitHub
commit e73eef9490

@ -41,7 +41,9 @@
<hr/>
<div class="form-login-box" >
<label class="wr-input-label">Group Name</label>
<label class="wr-input-label" title="{{groupNameHelpMsg}}">Group Name
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</label>
<div class="form-group wr-input-control">
<input type="text right" id="name" placeholder="Group Name" data-regex="{{groupNameJSRegEx}}"

@ -232,6 +232,9 @@ function loadGroups() {
$.each($('td', row), function (colIndex) {
switch (colIndex) {
case 1:
//TODO : The following line encodes html entities.
//Should check for a better solution since it only changes the presentation layer
$(this).text($("<textarea></textarea>").html(this.innerText).text())
$(this).attr('data-grid-label', "Name");
$(this).attr('data-search', data.name);
$(this).attr('data-display', data.name);

Loading…
Cancel
Save