mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Unified timeslider and pad editing protocol / component
This commit is contained in:
parent
d08f3ff5ee
commit
914d79ad20
8 changed files with 359 additions and 578 deletions
|
@ -87,6 +87,9 @@ function init() {
|
|||
else if(message.accessStatus)
|
||||
{
|
||||
$("body").html("<h2>You have no permission to access this pad</h2>")
|
||||
} else {
|
||||
console.warn("Unknown message type: " + message.type);
|
||||
console.warn(["XXX", message]);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -107,7 +110,7 @@ function sendSocketMsg(type, data)
|
|||
var sessionID = readCookie("sessionID");
|
||||
var password = readCookie("password");
|
||||
|
||||
var msg = { "component" : "timeslider",
|
||||
var msg = { "component" : "pad", // FIXME: Remove this stupidity!
|
||||
"type": type,
|
||||
"data": data,
|
||||
"padId": padId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue