Add ErrorDialog class. Use it for VoIP/command errors.

This commit is contained in:
Kegan Dougal 2015-07-20 16:26:47 +01:00
parent bb06484732
commit 6fe842e130
8 changed files with 108 additions and 9 deletions

View file

@ -44,6 +44,8 @@ module.exports = {
if (props && props.onFinished) props.onFinished.apply(arguments);
};
// FIXME: If a dialog uses getDefaultProps it clobbers the onFinished
// property set here so you can't close the dialog from a button click!
var dialog = (
<div className="mx_Dialog_Wrapper">
<div className="mx_Dialog">