diff options
Diffstat (limited to 'www/js/views/sent.js')
-rw-r--r-- | www/js/views/sent.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/js/views/sent.js b/www/js/views/sent.js index 03ec7a7..179d9f7 100644 --- a/www/js/views/sent.js +++ b/www/js/views/sent.js @@ -10,6 +10,17 @@ 'pagebeforeshow': 'beforeDisplay', 'pageshow': 'afterDisplay', 'vclick .ui-btn-left': 'onClickButtonPrev' + }, + + render: function(){ + if ( !this.template ) { + console.log('no template to render'); + return; + } + template = _.template( tpl.get( this.template ) ); + this.$el.html(template(FMS.createdReport.toJSON())); + this.afterRender(); + return this; } }) }); |