Fixed delete card option in narrow view

This commit is contained in:
Giulio Cesare Solaroli 2015-02-13 08:54:00 +01:00
parent a481384688
commit 924f0815a1
2 changed files with 3 additions and 1 deletions

View File

@ -178,7 +178,8 @@ Clipperz.PM.UI.Components.Cards.View = React.createClass({
this.renderFields(this.props['fields']),
this.renderNotes(this.props['notes']),
this.renderDirectLogins(this.props['directLogins'])
])
]),
this.props['ask'] ? Clipperz.PM.UI.Components.DialogBox(this.props['ask']) : null
]);
},

View File

@ -1321,6 +1321,7 @@ console.log("THE BROWSER IS OFFLINE");
MochiKit.Base.method(this.user(), 'getRecord', anEvent['reference']),
MochiKit.Base.method(this.user(), 'deleteRecord'),
MochiKit.Base.method(this, 'saveChanges'),
MochiKit.Base.method(this, 'exitCurrentSelection'),
MochiKit.Base.method(this, 'refreshUI')
], {trace:false});
},