Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only use 1st argument when calling onItemDisclosure().

  • Loading branch information...
commit 3de6da752e71a62db76a32104da6c41ab2454382 1 parent 3ac0241
@nelstrom authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  public/javascripts/index.js
View
2  public/javascripts/index.js
@@ -13,7 +13,7 @@ ListDemo = new Ext.Application({
store: ListDemo.ListStore,
itemTpl: '<div class="contact">{firstName} {lastName}</div>',
grouped: true,
- onItemDisclosure: function(record, btn, index) {
+ onItemDisclosure: function(record) {
ListDemo.detailPanel.update(record.data);
ListDemo.Viewport.setActiveItem('detailpanel');
}
Please sign in to comment.
Something went wrong with that request. Please try again.