From: Loic Baron <loic.baron@lip6.fr>
Date: Thu, 20 Mar 2014 17:49:12 +0000 (+0100)
Subject: queryupdater: pending not displayed automatically when a box is checked
X-Git-Tag: myslice-1.1~182
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=bc92837b4426599f29a37f84cddb61b57af67982;p=unfold.git

queryupdater: pending not displayed automatically when a box is checked
---

diff --git a/plugins/queryupdater/static/js/queryupdater.js b/plugins/queryupdater/static/js/queryupdater.js
index b00f04fd..89afdf3d 100644
--- a/plugins/queryupdater/static/js/queryupdater.js
+++ b/plugins/queryupdater/static/js/queryupdater.js
@@ -131,7 +131,9 @@
 	    // make sure the change is visible : toggle on the whole plugin
 	    // this might have to be made an 'auto-toggle' option of this plugin..
 	    // also it might be needed to be a little finer-grained here
-	    this.toggle_on();
+
+        // XXX we don't want to show automaticaly the pending when a checkbox is checked
+	    //this.toggle_on();
 	    
             switch(data.request) {
                 case FIELD_REQUEST_ADD_RESET: