vitalets/x-editable — pull request #621 by noirbizarre (2014-07-17 14:30:37+00:00)
Title: Use $(html).attr(attrs) instead of $(html, attrs)

I have some case where select type doesn't work because jQuery produces ``
val
`` instead of ``
``.

By looking in the jQuery code, the initial form will call the object method if available (``value()`` in this case) instead of setting the attribute.

This conflict does not happen with the second formand ensure that the value attribute is always set.