BrewPi/brewpi-www

Editing profile doesn't work in IE: contenteditable cannot be set on td elements in IE

Opened this issue · 1 comments

The profile table is made editable by setting the contenteditable attribute:

$theCell.attr('contenteditable', 'true').focus(function() 

In IE, this in not allowed on TD elements (table cells):

https://msdn.microsoft.com/en-us/library/ms537837(v=VS.85).aspx

This can be solved by putting a span element inside the TD, which is editable.

SHould be fixed by now in current dev branch.