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:
Robin Ward 2013-05-27 13:36:59 -07:00
commit d1405a9ed9
1 changed files with 1 additions and 1 deletions

View File

@ -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;