fiedl/wingolfsplattform — pull request #25 by jbx26 (2014-02-14 00:50:32+00:00)
Title: Profile fields like phone&email remain changed and formatted

Observed behavior:
* After switching from edit to display for Contact Information fields, like email and website the fields were no longer formatted
* After leaving the edit, the changed values were displayed and stored in database, but switching to edit again, showed the old values. Which were even stored after closing it again.

Fixes:
1. The Controller provides a response which informs also the best_in_place, so that it switches back to display mode
2. The click outside the box switches back to display mode
3. Use a local variable instead of recomputing a value

New behavior
* after switching from edit to display, it takes a few seconds and the values are shown pretty again
* after switching from edit to display to edit, the new values are shown