mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
@@ -12,7 +12,7 @@
|
||||
/datum/jsonHelper/proc/WriteValue(list/json, value)
|
||||
. = json
|
||||
if(isnum(value))
|
||||
json += num2text(value, 20)
|
||||
json += value // Consider num2text(value, 20) for maximum accuracy.
|
||||
else if(isnull(value))
|
||||
json += "null"
|
||||
else if(istext(value))
|
||||
|
||||
@@ -314,7 +314,7 @@
|
||||
var/list/send_data = get_send_data(data) // Get the data to send.
|
||||
|
||||
// Send the new data to the recieveUpdate() Javascript function.
|
||||
user << output(JSON.stringify(send_data), "[window_id].browser:receiveUpdate")
|
||||
user << output(url_encode(JSON.stringify(send_data)), "[window_id].browser:receiveUpdate")
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user