"BUGFIX: Un staffer ne peut pas selectionner plusieurs créneaux du même tour"
This commit is contained in:
@@ -62,7 +62,7 @@ function save_turn() {
|
||||
|
||||
function update_sheet(obj, turn, slot) {
|
||||
var url = '/staffsheet/update/'+turn+'/'+slot;
|
||||
get_html_from_ajax(obj, url);
|
||||
get_html_from_ajax(obj, url)
|
||||
obj.onclick=function (){ return clear_sheet(obj, turn, slot);}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ function get_html_from_ajax(obj, url) {
|
||||
xhttp.onload = function(){
|
||||
if (xhttp.status != 200) {
|
||||
obj.innerHTML = "Error while getting content (2)";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
xhttp.onreadystatechange = function() {
|
||||
|
||||
Reference in New Issue
Block a user