diff --git a/actions/api_cf.py b/actions/api_cf.py index c9bacabfc..eba2df102 100644 --- a/actions/api_cf.py +++ b/actions/api_cf.py @@ -915,8 +915,9 @@ def accept(self, dialog, complet_result, feature_id, _json, p_widget=None, clear result = json.loads(row[0], object_pairs_hook=OrderedDict) if "Accepted" in result['status']: - msg = "OK" - self.controller.show_message(msg, message_level=3) + level = result['message']['level'] + msg = result['message']['text'] + self.controller.show_message(msg, message_level=level) self.reload_fields(dialog, row, p_widget) elif "Failed" in result['status']: msg = "FAIL"