mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
Fixing autocomplete to only update input value on select, not focus.
This commit is contained in:
parent
9eac17263f
commit
6751ff890e
2 changed files with 1 additions and 5 deletions
|
@ -1788,7 +1788,7 @@ class MStory(mongo.Document):
|
||||||
r.delete('zF:%s' % story_feed_id)
|
r.delete('zF:%s' % story_feed_id)
|
||||||
r2.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()
|
p = r.pipeline()
|
||||||
p2 = r2.pipeline()
|
p2 = r2.pipeline()
|
||||||
for story in stories:
|
for story in stories:
|
||||||
|
|
|
@ -128,10 +128,6 @@ NEWSBLUR.ReaderAddFeed = NEWSBLUR.ReaderPopover.extend({
|
||||||
at: "left top",
|
at: "left top",
|
||||||
collision: "none"
|
collision: "none"
|
||||||
},
|
},
|
||||||
focus: function(e, ui) {
|
|
||||||
$add.val(ui.item.value);
|
|
||||||
return false;
|
|
||||||
},
|
|
||||||
select: function(e, ui) {
|
select: function(e, ui) {
|
||||||
$add.val(ui.item.value);
|
$add.val(ui.item.value);
|
||||||
// self.save_add_url();
|
// self.save_add_url();
|
||||||
|
|
Loading…
Add table
Reference in a new issue