summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2014-03-08 22:01:59 +0100
committerportix <portix@gmx.net>2014-03-08 22:01:59 +0100
commitfa3590e14c5c8f28a6af1b92fa81fc297c586bd2 (patch)
tree649d6a90582b0c2843a25f4b96232f7e9db1852c
parentd00d54d7a0b6593c87399626fb3ce84a2c6c8aa2 (diff)
downloaddwb-fa3590e14c5c8f28a6af1b92fa81fc297c586bd2.zip
Return constructor from completion module
-rw-r--r--scripts/modules/completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/modules/completion b/scripts/modules/completion
index 16b92401..3b955d1f 100644
--- a/scripts/modules/completion
+++ b/scripts/modules/completion
@@ -330,12 +330,12 @@ function create(ctorArgs) {
mWidget = new HiddenWebView();
mWidget.canFocus = false;
-Widget.transparent = true;
+mWidget.transparent = true;
gui.mainBox.packStart(mWidget, false, false, 0);
gui.mainBox.reorderChild(mWidget, 2);
mWidget.loadString(util.hereDoc(htmlContent));
-return { create : create };
+return { create : create, ctor : Completion };
/* vim: set ft=javascript: */