From 18896eeac0d8f76d64a3e9fcf87b054dddd78234 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Thu, 2 Jun 2011 15:41:09 -0500 Subject: [PATCH] Fix web to server chat on standalone - make chat.js use config.sendmessage --- web/js/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/chat.js b/web/js/chat.js index 3fca24e1..3031c7ff 100644 --- a/web/js/chat.js +++ b/web/js/chat.js @@ -24,7 +24,7 @@ componentconstructors['chat'] = function(dynmap, configuration) { var data = '{"name":'+JSON.stringify(ip)+',"message":'+JSON.stringify(message)+'}'; $.ajax({ type: 'POST', - url: 'up/sendmessage', + url: config.url.sendmessage, data: data, dataType: 'json', success: function(response) {