We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0910a891 authored by Sarven Capadisli's avatar Sarven Capadisli

Alerting the direct message XHR response

parent 40fd5d2f
......@@ -149,13 +149,20 @@ $(document).ready(function(){
response_error = response_error.textContent || response_error.innerHTML;
else if ($(".command_results", xml).length > 0) {
var command_results = document._importNode($(".command_results", xml).get(0), true);
command_results = command_results.textContent || command_results.innerHTML;
else {
$("#notices").prepend(document._importNode($("li", xml).get(0), true));
$("#status_form input[type=submit]").removeAttr("disabled");
$("#status_form input[type=submit]").removeClass("disabled");
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