code: function (text) {
              var preview = panels.preview;
              var parent = preview.parentNode;
              var sibling = preview.nextSibling;
              parent.removeChild(preview);
              preview.innerHTML = text;
              if (!sibling)
                  parent.appendChild(preview);
              else
                  parent.insertBefore(preview, sibling);
          }
docs: IE doesn't let you use innerHTML if the element is contained somewhere in a table (which is the case for inline editing) -- in that case, detach the element, set the value, and reattach. Yes, that *is* ridiculous.