PROD-2203
This commit is contained in:
committed by
Ali-D-Akbar
parent
027ea1373d
commit
30c30740d7
@@ -1,7 +1,7 @@
|
||||
(function(define) {
|
||||
'use strict';
|
||||
define(['jquery', 'underscore', 'backbone'],
|
||||
function($, _, Backbone) {
|
||||
define(['jquery', 'underscore', 'backbone', 'edx-ui-toolkit/js/utils/html-utils'],
|
||||
function($, _, Backbone, HtmlUtils) {
|
||||
return Backbone.View.extend({
|
||||
el: '#hinted-login-form',
|
||||
|
||||
@@ -22,10 +22,12 @@
|
||||
},
|
||||
|
||||
render: function() {
|
||||
$(this.el).html(_.template(this.tpl)({
|
||||
hintedProvider: this.hintedProvider
|
||||
}));
|
||||
|
||||
HtmlUtils.setHtml(
|
||||
$(this.el),
|
||||
HtmlUtils.template(this.tpl)({
|
||||
hintedProvider: this.hintedProvider
|
||||
})
|
||||
);
|
||||
return this;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user