From 5c8ad9d8e9d4b5f19e2682ef2980a507eabea802 Mon Sep 17 00:00:00 2001 From: Elad Bezalel Date: Sun, 4 Oct 2015 22:39:17 +0300 Subject: [PATCH] fix(mdDialog): fixed alert and confim `md-transition-in` class attachment Alert and confirm dialogs had in their template class attribute that was binded to `dialog.css`, in case the css property was undefined it caused the `md-transition-in` class to be applied but than deleted. The solution was to change the usage to ng-class and let angular set the class. fixes #4862 --- src/components/dialog/dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dialog/dialog.js b/src/components/dialog/dialog.js index 7f66dbf4805..b91984549ed 100644 --- a/src/components/dialog/dialog.js +++ b/src/components/dialog/dialog.js @@ -414,7 +414,7 @@ function MdDialogProvider($$interimElementProvider) { function advancedDialogOptions($mdDialog, $mdTheming) { return { template: [ - '', + '', ' ', '

{{ dialog.title }}

', '
',