summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2012-03-27 22:23:55 +0200
committerEgil Moeller <egil.moller@freecode.no>2012-03-27 22:23:55 +0200
commitc65216a09f0d667abd0d867369a7c2139fc85dc6 (patch)
tree73cb3a4294dbb9dfd1b90abcbdc7d7a17025efb8 /src
parent12600446c2a796ac0941b2a1d85784f4d9ca84f3 (diff)
downloadetherpad-lite-c65216a09f0d667abd0d867369a7c2139fc85dc6.zip
Added client side hook postAceInit
Diffstat (limited to 'src')
-rw-r--r--src/static/js/pad.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/static/js/pad.js b/src/static/js/pad.js
index d19cface..c72b1036 100644
--- a/src/static/js/pad.js
+++ b/src/static/js/pad.js
@@ -50,6 +50,8 @@ var createCookie = require('./pad_utils').createCookie;
var readCookie = require('./pad_utils').readCookie;
var randomString = require('./pad_utils').randomString;
+var hooks = require('./pluginfw/hooks');
+
function getParams()
{
var params = getUrlVars()
@@ -491,6 +493,7 @@ var pad = {
if(padcookie.getPref("showAuthorshipColors") == false){
pad.changeViewOption('showAuthorColors', false);
}
+ hooks.aCallAll("postAceInit");
}
},
dispose: function()