Prompt if a user really wants to leave the room
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ module.exports = {
|
||||
var closeDialog = function() {
|
||||
React.unmountComponentAtNode(self.getOrCreateContainer());
|
||||
|
||||
if (props && props.onFinished) props.onFinished.apply(arguments);
|
||||
if (props && props.onFinished) props.onFinished.apply(null, arguments);
|
||||
};
|
||||
|
||||
// FIXME: If a dialog uses getDefaultProps it clobbers the onFinished
|
||||
|
||||
Reference in New Issue
Block a user