mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Added client side hook postAceInit
This commit is contained in:
parent
12600446c2
commit
c65216a09f
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue