BrewPi / brewpi-www

This is the repository for the BrewPi web interface. The web interface will communicate with the Python script, which will in turn talk to the BrewPi Spark
https://www.brewpi.com
106 stars 75 forks source link

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

Open elcojacobs opened 9 years ago

elcojacobs commented 9 years ago

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.

lukepower commented 9 years ago

SHould be fixed by now in current dev branch.