Compare commits

...

2 Commits

Author SHA1 Message Date
John McLear 850cf40157 more mess, again dont merge, just for me 2013-02-21 01:56:57 +00:00
John McLear 1e6fc26780 throw and post err on bad pad data 2013-02-21 01:39:03 +00:00
1 changed files with 11 additions and 1 deletions

View File

@ -185,7 +185,17 @@ function Ace2Inner(){
{
setDocumentAttributedText: function(atext)
{
try{
setDocAText(atext);
}catch(err){
var padId = top.pad.getPadId();
var errMsg = "Pad data wont load for pad: " +padId;
top.console.error(errMsg);
var error = {
errorInfo: errMsg
}
$.post('/jserror', error);
}
},
applyChangesetToDocument: function(changeset, preferInsertionAfterCaret)
{