Added client side hook postAceInit

pull/557/head
Egil Moeller 2012-03-27 22:23:55 +02:00
parent 12600446c2
commit c65216a09f
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,8 @@ var createCookie = require('./pad_utils').createCookie;
var readCookie = require('./pad_utils').readCookie; var readCookie = require('./pad_utils').readCookie;
var randomString = require('./pad_utils').randomString; var randomString = require('./pad_utils').randomString;
var hooks = require('./pluginfw/hooks');
function getParams() function getParams()
{ {
var params = getUrlVars() var params = getUrlVars()
@ -491,6 +493,7 @@ var pad = {
if(padcookie.getPref("showAuthorshipColors") == false){ if(padcookie.getPref("showAuthorshipColors") == false){
pad.changeViewOption('showAuthorColors', false); pad.changeViewOption('showAuthorColors', false);
} }
hooks.aCallAll("postAceInit");
} }
}, },
dispose: function() dispose: function()