Skip to content

Commit

Permalink
Bug 372754 - Profile page label "for" attribute is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Li committed Feb 28, 2012
1 parent f8ef36d commit 8c19d64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ define(['require', 'dojo', 'dijit', 'orion/commands', 'orion/auth', 'orion/bread
for(var j=0; j<content.sections[i].data.length; j++){
var data = content.sections[i].data[j];
var dataDiv = dojo.create("div", null, sectionContents);
dojo.create("label", {className: "userprofile", innerHTML: data.label, "for": data.id}, dataDiv);
dojo.create("label", {className: "userprofile", innerHTML: data.label, "for": data.props.id}, dataDiv);

var input = this.createFormElem(data, dataDiv);
dojo.connect(input, "onKeyPress", dojo.hitch(profile, function(event){ if (event.keyCode === 13) { this.fire(); } else {return true;}}));
Expand Down

0 comments on commit 8c19d64

Please sign in to comment.