From e8f9069c5c44fb4512247dbc9d280152e760331a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 14 Apr 2013 10:23:01 +0400 Subject: [PATCH] quickAddFeed: add placeholder select element to feeds dropdown --- js/functions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/functions.js b/js/functions.js index 82cfa905..07eed2ad 100644 --- a/js/functions.js +++ b/js/functions.js @@ -810,7 +810,7 @@ function quickAddFeed() { notify(''); Element.hide("feed_add_spinner"); - console.log("GOT RC: " + rc); + console.log(rc); switch (parseInt(rc['code'])) { case 1: @@ -866,6 +866,8 @@ function quickAddFeed() { while (select.getOptions().length > 0) select.removeOption(0); + select.addOption({value: '', label: __("Expand to select feed")}); + var count = 0; for (var feedUrl in feeds) { select.addOption({value: feedUrl, label: feeds[feedUrl]}); -- 2.39.5