app/widgets/reset_password/javascript/reset_password.js in knitkit-2.1.2 vs app/widgets/reset_password/javascript/reset_password.js in knitkit-2.1.3

- old
+ new

@@ -1,7 +1,9 @@ Compass.ErpApp.Widgets.ResetPassword = { + template: new Ext.Template('<%= render_widget :reset_password, :params => {:login_url => "/login"}%>'), + addResetPassword:function(){ - Ext.getCmp('knitkitCenterRegion').addContentToActiveCodeMirror('<%= render_widget :reset_password, :params => {:login_url => "/login"}%>'); + Ext.getCmp('knitkitCenterRegion').addContentToActiveCodeMirror(Compass.ErpApp.Widgets.ResetPassword.template.apply()); } } Compass.ErpApp.Widgets.AvailableWidgets.push({ name:'Reset Password',