File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -258,17 +258,17 @@ angular.module('mm.foundation.modal', ['mm.foundation.transition'])
258
258
} ;
259
259
260
260
$modalStack . close = function ( modalInstance , result ) {
261
- var modalWindow = openedWindows . get ( modalInstance ) . value ;
261
+ var modalWindow = openedWindows . get ( modalInstance ) ;
262
262
if ( modalWindow ) {
263
- modalWindow . deferred . resolve ( result ) ;
263
+ modalWindow . value . deferred . resolve ( result ) ;
264
264
removeModalWindow ( modalInstance ) ;
265
265
}
266
266
} ;
267
267
268
268
$modalStack . dismiss = function ( modalInstance , reason ) {
269
- var modalWindow = openedWindows . get ( modalInstance ) . value ;
269
+ var modalWindow = openedWindows . get ( modalInstance ) ;
270
270
if ( modalWindow ) {
271
- modalWindow . deferred . reject ( reason ) ;
271
+ modalWindow . value . deferred . reject ( reason ) ;
272
272
removeModalWindow ( modalInstance ) ;
273
273
}
274
274
} ;
You can’t perform that action at this time.
0 commit comments