|
|
@ -28,7 +28,7 @@ define(['backbone', 'text!./../template/modal.html'], |
|
|
getContent: function(){ |
|
|
getContent: function(){ |
|
|
if(!this.$content) |
|
|
if(!this.$content) |
|
|
this.$content = this.$el.find('.'+this.pfx+'content #'+this.pfx+'c'); |
|
|
this.$content = this.$el.find('.'+this.pfx+'content #'+this.pfx+'c'); |
|
|
return this.$content.get(0); |
|
|
return this.$content; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
@ -49,7 +49,7 @@ define(['backbone', 'text!./../template/modal.html'], |
|
|
updateContent: function(){ |
|
|
updateContent: function(){ |
|
|
var content = this.getContent(); |
|
|
var content = this.getContent(); |
|
|
if(content) |
|
|
if(content) |
|
|
content.innerHTML = this.model.get('content'); |
|
|
content.html(this.model.get('content')); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|