ConstructionConsent/View: setting owner status returned when result accepted or
denied
This commit is contained in:
@@ -931,6 +931,14 @@ $pagination_entity_name = "Adressen";
|
||||
$("#result-" + update.id + "-text").removeClass("text-success")
|
||||
}, 1500);
|
||||
|
||||
if(update.result == "accepted" || update.result == "denied") {
|
||||
if(!$("#status-" + update.id + "-input select").is(":visible")) {
|
||||
toggleStatusControl(update.id);
|
||||
}
|
||||
$("#status-" + update.id + "-input select").val("returned");
|
||||
saveStatusControl(parseInt(update.id));
|
||||
}
|
||||
|
||||
toggleResultControl(update.id);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user