Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor bug fix for SC.Checkbox with no title

  • Loading branch information...
commit b539b3c15aec391bd6f5763ceb78e601f01857ea 1 parent b00f012
@wagenet wagenet authored
View
3  frameworks/core_foundation/mixins/template_helpers/checkbox_support.js
@@ -16,7 +16,8 @@ SC.Checkbox = SC.TemplateView.extend(
value: null,
displayTitle: function() {
- return SC.String.loc(this.get('title'));
+ var title = this.get('title');
+ return title ? SC.String.loc(title) : null;
}.property('title').cacheable(),
classNames: ['sc-checkbox'],
Please sign in to comment.
Something went wrong with that request. Please try again.