mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 20:13:46 +00:00 
			
		
		
		
	Add channel module wrapping our various JSON requests to the server.
(imported from commit 6489938678551ad8594822363ae6d1c9ae295496)
This commit is contained in:
		| @@ -15,11 +15,9 @@ $(function () { | ||||
|             return word !== ""; | ||||
|         }); | ||||
|  | ||||
|         $.ajax({ | ||||
|             type: 'POST', | ||||
|         channel.post({ | ||||
|             url: '/json/set_alert_words', | ||||
|             data: {alert_words: JSON.stringify(words)}, | ||||
|             dataType: 'json'}); | ||||
|             data: {alert_words: JSON.stringify(words)}}); | ||||
|     } | ||||
|  | ||||
|     function add_alert_word(word, event) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user