From dcc9ef31db5fc33dadd8ab29193a9bf01a201c54 Mon Sep 17 00:00:00 2001 From: Guy Nesher Date: Tue, 26 Mar 2013 18:26:52 +0000 Subject: [PATCH] fix(dialog): set _open to false on init --- src/dialog/dialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dialog/dialog.js b/src/dialog/dialog.js index 13a578482d..67a192b2ce 100644 --- a/src/dialog/dialog.js +++ b/src/dialog/dialog.js @@ -66,6 +66,7 @@ dialogModule.provider("$dialog", function(){ function Dialog(opts) { var self = this, options = this.options = angular.extend({}, defaults, globalOptions, opts); + this._open = false; this.backdropEl = createElement(options.backdropClass); if(options.backdropFade){