summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js
index 69698de308..4aac8bcfcf 100644
--- a/modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/modules/luci-base/htdocs/luci-static/resources/ui.js
@@ -305,7 +305,7 @@ var UISelect = UIElement.extend({
getValue: function() {
if (this.options.widget == 'select')
- return this.node.value;
+ return this.node.firstChild.value;
var radioEls = frameEl.querySelectorAll('input[type="radio"]');
for (var i = 0; i < radioEls.length; i++)