Merge pull request #907 from ZogStriP/fix-you-cant-change-a-subject-whilst-flagging
FIX: You can't change a subject whilst Flagging
This commit is contained in:
commit
d1405a9ed9
|
@ -35,7 +35,7 @@ Discourse.FlagView = Discourse.ModalBodyView.extend({
|
|||
this.set('postActionTypeId', action.id);
|
||||
this.set('isCustomFlag', action.is_custom_flag);
|
||||
this.set('selected', action);
|
||||
Em.run.schedule('afterRender', function() {
|
||||
Em.run.next(function() {
|
||||
$('#radio_' + action.name_key).prop('checked', 'true');
|
||||
});
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue