Implement minShown and maxShown for notification views

This commit is contained in:
David Baumgold
2013-05-15 13:33:23 -04:00
parent 91c2594c8d
commit fcf4cdc75e
2 changed files with 25 additions and 6 deletions

View File

@@ -31,7 +31,8 @@ CMS.Models.Section = Backbone.Model.extend({
if(!this.msgView) {
this.msgView = new CMS.Views.Notification({
model: this.msg,
closeIcon: false
closeIcon: false,
minShown: 1000
});
}
this.msgView.show();