Commit a7dd4553 authored by Timo Tegtmeier's avatar Timo Tegtmeier

Updated selection handling

parent 39e4fb91
......@@ -326,7 +326,7 @@ enyo.kind({
itemClicked: function(sender, event) {
if(this.inherited(arguments)) {
this.$.searchBox.blur();
this.doFeedSelected({
this.doSelected({
item: this.items[event.index],
isFirst: event.index == 0,
isLast: event.index == (this.items.length - 1)
......
......@@ -323,7 +323,7 @@ enyo.kind({
return true;
this.$.searchBox.blur();
this.doStorySelected({
this.doSelected({
item: this.items[event.index],
isFirst: event.index == 0,
isLast: event.index == (this.items.length - 1)
......@@ -338,7 +338,7 @@ enyo.kind({
if(this.selectedIndex == event.rowIndex) {
// Refresh the story view.
this.doStorySelected({
this.doSelected({
item: this.items[this.selectedIndex],
isFirst: this.selectedIndex == 0,
isLast: this.selectedIndex == (this.items.length - 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment