Clickable notifications (#745)

This commit is contained in:
RainLoop Team 2015-07-06 22:46:44 +04:00
parent 69c01e5789
commit 9ade5a585b
5 changed files with 121 additions and 39 deletions

View file

@ -778,10 +778,7 @@
if (bClick)
{
this.focusedItem(oItem);
this.selectedItem(oItem);
this.scrollToFocused();
this.selectMessageItem(oItem);
}
}
};
@ -791,6 +788,14 @@
this.oCallbacks[sEventName] = fCallback;
};
Selector.prototype.selectMessageItem = function (oMessageItem)
{
this.focusedItem(oMessageItem);
this.selectedItem(oMessageItem);
this.scrollToFocused();
};
module.exports = Selector;
}());