X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fquerytable%2Fstatic%2Fjs%2Fquerytable.js;h=c1b19235c993ad11179f7cc84129661d9dd0ab14;hb=7426a25d89f0a5c02abfcc22e2f8eb9458a66966;hp=01c72b66eb851e3776c6d72bf9db6a80c881219e;hpb=fcb529f9c21f0868896e7721eafad153a4a071bb;p=unfold.git diff --git a/plugins/querytable/static/js/querytable.js b/plugins/querytable/static/js/querytable.js index 01c72b66..c1b19235 100644 --- a/plugins/querytable/static/js/querytable.js +++ b/plugins/querytable/static/js/querytable.js @@ -533,11 +533,11 @@ QUERYTABLE_BGCOLOR_REMOVED = 2; this.set_bgcolor(data.value, QUERYTABLE_BGCOLOR_RESET); break; case STATE_SET_IN_PENDING: - this.set_checkbox_from_data(data.key, true); + this.set_checkbox_from_data(data.value, true); this.set_bgcolor(data.value, QUERYTABLE_BGCOLOR_ADDED); break; case STATE_SET_OUT_PENDING: - this.set_checkbox_from_data(data.key, false); + this.set_checkbox_from_data(data.value, false); this.set_bgcolor(data.value, QUERYTABLE_BGCOLOR_REMOVED); break; }