possible fix to dom losing functions after model.resetDom()

This commit is contained in:
Tyler Renelle
2013-03-16 20:02:01 -04:00
parent 9501e67661
commit dbc3906eb3
+2 -2
View File
@@ -194,8 +194,8 @@ setupGrowlNotifications = (model) ->
module.exports.resetDom = (model) ->
window.DERBY.app.dom.clear()
window.DERBY.app.view.render(model)
DERBY.app.dom.clear()
DERBY.app.view.render(model, DERBY.app.view._lastRender.ns, DERBY.app.view._lastRender.context);
module.exports.app = (appExports, model, app) ->
loadJavaScripts(model)