pass pad in postAceInit hook

no way for plugins to access current pad otherwise.
This commit is contained in:
j@mailb.org 2013-06-17 14:30:13 +02:00 committed by j
parent a554552bed
commit bc5dc74f90
2 changed files with 2 additions and 1 deletions

View file

@ -524,7 +524,7 @@ var pad = {
if(padcookie.getPref("showAuthorshipColors") == false){
pad.changeViewOption('showAuthorColors', false);
}
hooks.aCallAll("postAceInit", {ace: padeditor.ace});
hooks.aCallAll("postAceInit", {ace: padeditor.ace, pad: pad});
}
},
dispose: function()