Adding SSH key throws Javascript exception (BB-12742)

Issue #11210 resolved
Roy Truelove created an issue

(On chrome 41.0.2272.118 (64-bit))

When adding an ssh key:

(https://bitbucket.org/account/user/someuser/ssh-keys/) -> Add Key

I paste in my valid key and hit "Add Key". The button greys out but nothing happens. When I check the Javascript Console I see the following:

Uncaught TypeError: Cannot use 'in' operator to search for 'pk' in <!DOCTYPE html>

followed by the entire HTML page.

If I hit cancel and try again, the "Add Key' Button is still greyed out. If I refresh I get the same.

Comments (5)

  1. Log in to comment