Commit 3efeaf5a by AlasdairSwan

Moved pre-render to first in initialize to ensure runs before render

parent 2ea96855
......@@ -29,6 +29,7 @@ var edx = edx || {};
requiredStr: '*',
initialize: function( data ) {
this.preRender( data );
this.tpl = $(this.tpl).html();
this.fieldTpl = $(this.fieldTpl).html();
......@@ -36,8 +37,6 @@ var edx = edx || {};
this.model = data.model;
this.listenTo( this.model, 'error', this.saveError );
this.preRender( data );
},
/* Allows extended views to add custom
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment