fix cursors in form prototype
This commit is contained in:
parent
d8a96b38cf
commit
3ea270acb9
@ -51,7 +51,7 @@ define([
|
|||||||
var cursorTypes = ['textarea', 'password', 'text'];
|
var cursorTypes = ['textarea', 'password', 'text'];
|
||||||
|
|
||||||
var canonicalize = function (text) { return text.replace(/\r\n/g, '\n'); };
|
var canonicalize = function (text) { return text.replace(/\r\n/g, '\n'); };
|
||||||
$elements.each(function (element) {
|
$elements.each(function (index, element) {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
|
|
||||||
var id = uid();
|
var id = uid();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user