9

Steps do reproduce the problem

When you are answering some question...

  1. Click on the Code Snippet button or press CTRL+M
  2. Click on the X at the corner or press ESC to close the window
  3. Choose OK to actually close the window
  4. Repeat steps #1 and #2
  5. Click Cancel and the window will be closed anyway

I tested in Chrome (last version) and Internet Explorer 10. It does not matter whether I am logged in or not.

5
  • @m0sa I found this bug on Stack Overflow in Portuguese. Please make sure that site is also fixed. meta.pt.stackoverflow.com/q/2386/227
    – utluiz
    Jan 22, 2015 at 13:44
  • 1
    Same on firefox @utluiz
    – Jorge B.
    Jan 22, 2015 at 13:51
  • @utluiz the code is the same on all sites, once the fix is deployed, all sites would get it. Jan 22, 2015 at 15:18
  • @m0sa 6-8 weeks? (or did it turn out more complex than you thought? :-)) Jan 22, 2015 at 18:41
  • @ShadowWizard don't ask...
    – m0sa StaffMod
    Jan 22, 2015 at 19:42

1 Answer 1

8

The bug was caused by the snippets code mirror script being loaded asynchronously, and our events handlers being attached in the loader's promise, which got them wired up in the wrong order each but the first time, when the script was actually loaded.

Fix is rolling out with build rev 2015.1.22.2987 on meta and 2015.1.22.2213 on sites.

2
  • 1
    Cool... since you so kindly asked me not to ask... what happened there? ;) Jan 22, 2015 at 19:43
  • 1
    Thanks! I guessed it was something like this, but I gave up trying to debug. Minified code is too messy.
    – utluiz
    Jan 22, 2015 at 21:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .