Permalink
Browse files

Stop double encoding things

  • Loading branch information...
1 parent f16fe81 commit 6fd91615cd24807f1daa1e78a387e19df68574db @cubehouse cubehouse committed Jul 13, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 js/forms.js
View
@@ -73,9 +73,7 @@ define(["encode"], function(encoder) {
h.append(l);
}
- var i = $("<input type='text' name='"+o.name+"' />");
-
- i.attr("value", o.value);
+ var i = $("<input type='text' name='"+o.name+"' value='"+o.value+"' />");
if (o.disable) i.attr("disabled", true);

0 comments on commit 6fd9161

Please sign in to comment.