mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
Add channel module wrapping our various JSON requests to the server.
(imported from commit 6489938678551ad8594822363ae6d1c9ae295496)
This commit is contained in:
@@ -156,8 +156,7 @@ function enable_event_handlers() {
|
||||
}
|
||||
|
||||
function set_tutorial_status(status, callback) {
|
||||
return $.ajax({
|
||||
type: 'POST',
|
||||
return channel.post({
|
||||
url: '/json/tutorial_status',
|
||||
data: {status: status},
|
||||
success: callback
|
||||
|
||||
Reference in New Issue
Block a user