- Fix unmounting select2 component
- Fix subjects of welcome and notification newsletters - Remove debugging statements
This commit is contained in:
@ -30,6 +30,9 @@ function(
|
||||
.trigger('change');
|
||||
}
|
||||
},
|
||||
componentWillUnmount: function() {
|
||||
jQuery('#'+this.refs.select.id).select2('destroy');
|
||||
},
|
||||
setupSelect2: function() {
|
||||
if(
|
||||
!this.props.field.multiple
|
||||
@ -161,4 +164,4 @@ function(
|
||||
});
|
||||
|
||||
return Selection;
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user