Can break "Flag" buttons on topics and posts

(Roarke Lynch) #1

In Chrome, I am able to break the “Flag” buttons on topics and posts.

To reproduce the error:

  1. Press the “Flag” button for a topic.
  2. Close the popup by either clicking the “X” or clicking on the overlay.
  3. Now, press the “Flag” button on any post. It no longer works.
  4. After you have clicked the “Flag” button on a post, you also can no longer flag a topic.

Step 3 will log the following error in the Javascript Console:
Uncaught TypeError: Cannot read property 'get' of undefined

(Arpit Jalan) #2

Fixed via:

(Arpit Jalan) #3