summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/scripts/views/input/inputView.js
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/app/scripts/views/input/inputView.js')
-rw-r--r--pyload/web/app/scripts/views/input/inputView.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/web/app/scripts/views/input/inputView.js b/pyload/web/app/scripts/views/input/inputView.js
index 1fbe5042d..1860fcaf1 100644
--- a/pyload/web/app/scripts/views/input/inputView.js
+++ b/pyload/web/app/scripts/views/input/inputView.js
@@ -8,16 +8,16 @@ define(['jquery', 'backbone', 'underscore'], function($, Backbone, _) {
input: null,
value: null,
- default_value: null,
description: null,
+ default_value: null,
// enables tooltips
tooltip: true,
initialize: function(options) {
this.input = options.input;
+ this.default_value = this.input.default_value;
this.value = options.value;
- this.default_value = options.default_value;
this.description = options.description;
},