Commit 205f52bd authored by Marc Duez's avatar Marc Duez
Browse files

list.js : upgrade update strategy using cluster.split value

parent 0285ad65
......@@ -299,15 +299,11 @@ List.prototype = {
* */
updateElem : function(list){
for ( var i=0; i<list.length ; i++){
var displayCluster=false;
var cluster = $("#cluster"+list[i])
if (cluster.length!=0 && cluster.css("display")!="none") displayCluster=true;
var div = document.getElementById(list[i]);
if (this.m.windows[list[i]].active || this.m.windows[list[i]].window=="other"){
if ( (this.m.windows[list[i]].active && this.m.clones[list[i]].cluster.length != 0 )
|| this.m.windows[list[i]].window=="other"){
div.innerHTML='';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment