diff options
Diffstat (limited to 'etherpad/src/plugins/urlIndexer/main.js')
-rw-r--r-- | etherpad/src/plugins/urlIndexer/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etherpad/src/plugins/urlIndexer/main.js b/etherpad/src/plugins/urlIndexer/main.js index 79bb019..0b2847f 100644 --- a/etherpad/src/plugins/urlIndexer/main.js +++ b/etherpad/src/plugins/urlIndexer/main.js @@ -4,9 +4,10 @@ import("sqlbase.sqlobj"); import("sqlbase.sqlcommon"); function init() { - this.hooks = ['padModelWriteToDB']; + this.hooks = ['padModelWriteToDB', 'handlePath']; this.description = 'Indexes URLs linked to in pads so that they can be displayed outside pads, searched for etc.'; this.padModelWriteToDB = hooks.padModelWriteToDB; + this.handlePath = hooks.handlePath; this.install = install; this.uninstall = uninstall; |