Fixed cancel changes in "mobile" mode.

This commit is contained in:
Giulio Cesare Solaroli 2014-08-27 18:16:30 +02:00
parent fc0805916e
commit 29a21f5462
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,7 @@ Clipperz.PM.UI.Components.Cards.Detail = React.createClass({
result = this.props['selectedCard'];
if (result) {
result['style'] = this.props['style'];
result['ask'] = this.props['ask'];
}
return result;

View File

@ -160,7 +160,8 @@ Clipperz.PM.UI.Components.Cards.Edit = React.createClass({
this.renderAddNewField(),
this.renderDirectLogins(this.props['directLogins'])
])
])
]),
this.props['ask'] ? Clipperz.PM.UI.Components.DialogBox(this.props['ask']) : null
]);
},