Commit 192b0217 authored by Jérémie Garcia's avatar Jérémie Garcia

multi user bug fix

parent 9771c959
......@@ -26,8 +26,7 @@ Traj.View.updateSourceButtons = function (id,total){
Traj.Manager.allowed_indexes = [id+1];
}
//updateSourceButtonste the buttons accordingly
//update the SourceButtons the buttons accordingly
for (var k=0;k<buttons.length;k++) {
//show the ones that may have been swithed of
buttons[k].style.display = "block";
......@@ -38,9 +37,8 @@ Traj.View.updateSourceButtons = function (id,total){
if(k!=0 && k!=2){
buttons[k].style.display = "none";
}
}
if(id ===1){ //the second has 2 and 4
if(k=!1 && k!=3){
}else if(id===1){
if(k!=1 && k!=3){
buttons[k].style.display = "none";
}
}
......
test
\ No newline at end of file
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