Fix create member stuck in loading state

This is a result of incorrect backport of earlier commit:
c2403b8f2a

The breaking function call which was causing the UI to hang
has been fixed here.

Change-Id: I1d2ff79c96384c5573d189a9d46f2abcf73452f3
Closes-bug: #1582413
This commit is contained in:
Sumit Naiksatam 2016-05-16 14:55:16 -07:00
parent c4d9b114b2
commit 38a81f4b33
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ member = {
$(this.get_group_element("")).each(function () {
var $this = $(this);
var $input = $this.children("input");
var name = horizon.string.escapeHtml($this.text().replace(/^\s+/, ""));
var name = horizon.escape_html($this.text().replace(/^\s+/, ""));
var group_property = {
"name": name,
"id": $input.attr("id"),