From 8c37422b4768615c9f5008c404d4a034f13aa1a1 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 18 Jul 2011 14:40:58 -0400
Subject: [PATCH] Only load contacts list in main view

---
 program/js/app.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 5777167..f670bb0 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -340,7 +340,8 @@
         this.enable_command('list', 'listgroup', 'advanced-search', true);
         
         // load contacts of selected source
-        this.command('list', this.env.source);
+        if (!this.env.action)
+          this.command('list', this.env.source);
         break;
 
 

--
Gitblit v1.9.1