Permalink
Browse files

prefer resolveContent over resolveProperty for pulldown items'

  • Loading branch information...
1 parent b57c994 commit 17e93704fb4a9c701acaa110b8e5fa3c91223b13 Joe Stelmach committed May 29, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/js/menu.js
  2. +1 −1 src/js/pulldown.js
View
2 src/js/menu.js
@@ -94,7 +94,7 @@
_labelForItem : function(item) {
return !_(item).exists() ? this.options.placeholder :
- _(item).resolveProperty(this.options.altLabelContent);
+ this.resolveContent(item, this.options.altLabelContent);
}
});
}());
View
2 src/js/pulldown.js
@@ -89,7 +89,7 @@
_labelForItem : function(item) {
return !_(item).exists() ? this.options.placeholder :
- _(item).resolveProperty(this.options.altLabelContent);
+ this.resolveContent(item, this.options.altLabelContent);
},
// sets the selected item

0 comments on commit 17e9370

Please sign in to comment.