mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
more mess, again dont merge, just for me
This commit is contained in:
parent
1e6fc26780
commit
850cf40157
1 changed files with 6 additions and 3 deletions
|
@ -188,10 +188,13 @@ function Ace2Inner(){
|
||||||
try{
|
try{
|
||||||
setDocAText(atext);
|
setDocAText(atext);
|
||||||
}catch(err){
|
}catch(err){
|
||||||
var err = {
|
var padId = top.pad.getPadId();
|
||||||
errorInfo: "Text is broken so wont load on the client"
|
var errMsg = "Pad data wont load for pad: " +padId;
|
||||||
|
top.console.error(errMsg);
|
||||||
|
var error = {
|
||||||
|
errorInfo: errMsg
|
||||||
}
|
}
|
||||||
$.post('/jserror', err);
|
$.post('/jserror', error);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
applyChangesetToDocument: function(changeset, preferInsertionAfterCaret)
|
applyChangesetToDocument: function(changeset, preferInsertionAfterCaret)
|
||||||
|
|
Loading…
Reference in a new issue