diff options
Diffstat (limited to 'module/web/static/js/views/abstract/modalView.js')
-rw-r--r-- | module/web/static/js/views/abstract/modalView.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/module/web/static/js/views/abstract/modalView.js b/module/web/static/js/views/abstract/modalView.js index e0542d552..8f5a7ed0c 100644 --- a/module/web/static/js/views/abstract/modalView.js +++ b/module/web/static/js/views/abstract/modalView.js @@ -82,11 +82,20 @@ define(['jquery', 'backbone', 'underscore', 'omniwindow'], function($, Backbone, this.dialog.trigger('show'); - // TODO: set focus on first element + this.onShow(); + }, + + onShow: function() { + }, hide: function() { this.dialog.trigger('hide'); + this.onHide(); + }, + + onHide: function() { + }, confirm: function() { |