Commit 8716fc78 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Added loading animation for notes

parent cd5c4bac
...@@ -98,6 +98,8 @@ getContent: ...@@ -98,6 +98,8 @@ getContent:
type: "GET", type: "GET",
url: this.notes_path, url: this.notes_path,
data: "?" + this.target_params, data: "?" + this.target_params,
complete: function(){ $('.status').removeClass("loading")},
beforeSend: function() { $('.status').addClass("loading") },
dataType: "script"}); dataType: "script"});
}, },
......
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