Fixing autocomplete to only update input value on select, not focus.

This commit is contained in:
Samuel Clay 2013-07-05 18:50:57 -07:00
parent 9eac17263f
commit 6751ff890e
2 changed files with 1 additions and 5 deletions

View file

@ -1788,7 +1788,7 @@ class MStory(mongo.Document):
r.delete('zF:%s' % story_feed_id)
r2.delete('zF:%s' % story_feed_id)
logging.info(" ---> [%-30s] ~FMSyncing ~SB%s~SN stories to redis" % (feed and feed.title[:30] or story_feed_id, stories.count()))
logging.info(" ---> [%-30s] ~FMSyncing ~SB%s~SN stories to redis" % (feed and feed.title[:30] or story_feed_id, stories.count()))
p = r.pipeline()
p2 = r2.pipeline()
for story in stories:

View file

@ -128,10 +128,6 @@ NEWSBLUR.ReaderAddFeed = NEWSBLUR.ReaderPopover.extend({
at: "left top",
collision: "none"
},
focus: function(e, ui) {
$add.val(ui.item.value);
return false;
},
select: function(e, ui) {
$add.val(ui.item.value);
// self.save_add_url();