diff --git a/assets/css/src/listing.styl b/assets/css/src/listing.styl index 75374fa702..4c9299e65d 100644 --- a/assets/css/src/listing.styl +++ b/assets/css/src/listing.styl @@ -1,24 +1,9 @@ .mailpoet_listing_loading tbody tr, .mailpoet_form_loading tbody tr - opacity: 0.2; - -.widefat tfoot td.mailpoet_check_column, -.widefat thead td.mailpoet_check_column - padding-top: 10px; - -.widefat tbody th.mailpoet_check_column, -.widefat tfoot td.mailpoet_check_column, -.widefat thead td.mailpoet_check_column - padding: 11px 0 0 3px; - -.widefat .mailpoet_check_column - padding: 6px 0 25px; - vertical-align: top; - width: 2.2em; + opacity: 0.2 .mailpoet_select_all background-color: #f1f1f1 .mailpoet_select_all td - text-align: center - + text-align: center \ No newline at end of file diff --git a/assets/js/src/form/form.jsx b/assets/js/src/form/form.jsx index 5808517a42..e6d25d42b7 100644 --- a/assets/js/src/form/form.jsx +++ b/assets/js/src/form/form.jsx @@ -34,7 +34,7 @@ define( name={ this.props.field.name } id={ 'field_'+this.props.field.name } value={ this.props.item[this.props.field.name] } - onChange={ this.props.onValueChange } > + onChange={ this.props.onValueChange }> {options} ); @@ -228,6 +228,7 @@ define( loading: false, item: {} }); + this.refs.form.getDOMNode().reset(); } else { this.loadItem(props.params.id); } @@ -315,6 +316,7 @@ define( return (