mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
register piece transitions
This commit is contained in:
parent
2436e198db
commit
3e71926b7d
@ -50,10 +50,10 @@ let RegisterPiece = React.createClass( {
|
||||
this.setState(state);
|
||||
},
|
||||
|
||||
handleSuccess(){
|
||||
let notification = new GlobalNotificationModel('Piece successfully registered', 'success', 10000);
|
||||
handleSuccess(response){
|
||||
let notification = new GlobalNotificationModel(response.notification, 'success', 10000);
|
||||
GlobalNotificationActions.appendGlobalNotification(notification);
|
||||
this.transitionTo('pieces');
|
||||
this.transitionTo('edition', {editionId: response.edition.bitcoin_id});
|
||||
},
|
||||
|
||||
getFormData(){
|
||||
|
@ -97,7 +97,10 @@ body {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.btn-delete{
|
||||
background-color: rgba(0,0,0,0);
|
||||
color: #888;
|
||||
}
|
||||
.btn-ascribe, .btn-ascribe-inv {
|
||||
border: 1px solid #444;
|
||||
line-height: 2em;
|
||||
|
Loading…
Reference in New Issue
Block a user