Merge pull request #726 from amenonsen/fixes

Trivial fix: set label.for to the input's id
This commit is contained in:
Abhijit Menon-Sen
2013-07-17 18:53:37 -07:00
@@ -60,7 +60,7 @@
if ( fieldAttributes.name ) {
html += '<label';
if ( fieldAttributes.id ) {
html += ' for="' + fieldAttributes.name + '"';
html += ' for="gollum-dialog-dialog-generated-field-' + fieldAttributes.id + '"';
}
html += '>' + fieldAttributes.name + '</label>';
}