Imesh Chandrasiri 8 years ago
parent 6d62f3b425
commit f7c8578758

@ -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