From 4b298c869896ed1228b00a8365a8115e25bfd468 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Wed, 15 Aug 2012 10:41:59 +0400
Subject: [PATCH] fix batchSubscribe dialog not closing/feedlist not updating

---
 js/prefs.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/js/prefs.js b/js/prefs.js
index d351a7bc..3ce453c4 100644
--- a/js/prefs.js
+++ b/js/prefs.js
@@ -2116,7 +2116,9 @@ function batchSubscribe() {
 					new Ajax.Request("backend.php", {
 						parameters: dojo.objectToQuery(this.attr('value')),
 						onComplete: function(transport) {
-							this.hide();
+							notify("");
+							updateFeedList();
+							dialog.hide();
 						} });
 					}
 			},
-- 
2.39.5