|
|
@ -784,7 +784,9 @@ function updateDemandes() { |
|
|
token: localStorage.getItem('token'), |
|
|
token: localStorage.getItem('token'), |
|
|
type: "state" |
|
|
type: "state" |
|
|
}), |
|
|
}), |
|
|
|
|
|
contentType: "application/json; charset=utf-8", |
|
|
|
|
|
dataType: "json", |
|
|
|
|
|
|
|
|
success: function(data) { |
|
|
success: function(data) { |
|
|
if(data.success) { |
|
|
if(data.success) { |
|
|
if(data.state == "open") { |
|
|
if(data.state == "open") { |
|
|
|