only setup bootstrap growl notifications once. i still don't get this.
this issue is caused after browser.resetDom(), which happens on (1) cron, (2) reset, (3) reroll. after which for some people this commit will cause notifications to disappear altogether, while for others reverting this commit will cause notifications to double.
This commit is contained in:
@@ -201,12 +201,12 @@ module.exports.resetDom = (model) ->
|
||||
|
||||
module.exports.app = (appExports, model, app) ->
|
||||
loadJavaScripts(model)
|
||||
setupGrowlNotifications(model) unless model.get('_view.mobileDevice')
|
||||
|
||||
app.on 'render', (ctx) ->
|
||||
#restoreRefs(model)
|
||||
setupSortable(model)
|
||||
setupTooltips(model)
|
||||
setupGrowlNotifications(model) unless model.get('_view.mobileDevice')
|
||||
#setupTour(model)
|
||||
$('.datepicker').datepicker({autoclose:true, todayBtn:true})
|
||||
.on 'changeDate', (ev) ->
|
||||
|
||||
Reference in New Issue
Block a user