knockout bind optimizations

This commit is contained in:
RainLoop Team 2014-08-20 12:37:20 +04:00
parent eb11eaa096
commit 2fa2cd191e
9 changed files with 126 additions and 114 deletions

View file

@ -978,7 +978,7 @@ RainLoopApp.prototype.getAutocomplete = function (sQuery, fCallback)
* @param {string} sQuery
* @param {Function} fCallback
*/
RainLoopApp.prototype.getContactsTagsAutocomplete = function (sQuery, fCallback)
RainLoopApp.prototype.getContactTagsAutocomplete = function (sQuery, fCallback)
{
fCallback(_.filter(RL.data().contactTags(), function (oContactTag) {
return oContactTag && oContactTag.filterHelper(sQuery);