powmedia/backbone-forms — pull request #164 by ufabdyop (2012-12-07 21:48:16+00:00)
Title: Internet explorer textarea fix

Fix for textarea type in IE.

I was getting an error in IE that showed up in the IE console log as:
SCRIPT16385: Not implemented
jquery-1.8.3.js, line 2312 character 5

It was causing the whole form not to load. I traced that to line 187 in editors.js where the Text editor initialize function calls:

this.$el.attr('type', type);

Since the TextArea editor inherits from the Text editor, it was setting the type attribute for a textarea tag to text. since textarea tags are not supposed to have type attributes, IE was barfing while other browsers ignored it (at least that's my theory). In fact, sometimes IE ignored it too, but not always. This should fix the issue.