From a3dfd09a8d560f6e6591de2e1de95e82ed2ddce3 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 17 Jul 2013 11:50:15 +0200 Subject: improved inputTypes, config api --- pyload/web/app/scripts/views/queryModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/web/app/scripts/views/queryModal.js') diff --git a/pyload/web/app/scripts/views/queryModal.js b/pyload/web/app/scripts/views/queryModal.js index c748e1657..ce624814a 100644 --- a/pyload/web/app/scripts/views/queryModal.js +++ b/pyload/web/app/scripts/views/queryModal.js @@ -39,7 +39,7 @@ define(['jquery', 'underscore', 'app', 'views/abstract/modalView', './input/inpu // instantiate the input var input = this.model.get('input'); var InputView = load_input(input); - this.input = new InputView(input); + this.input = new InputView({input: input}); // only renders after wards this.$('#inputField').append(this.input.render().el); }, -- cgit v1.2.3