Added JS to set moderation_flag properly to close #792
Merge branch 'refs/heads/master' into attribute_names

* refs/heads/master:
  Added JS to set moderation_flag properly to close #792