summaryrefslogtreecommitdiff
path: root/management/editor/elements.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-17 00:42:46 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-17 00:42:46 -0800
commitb564e0ce57730af0afa9fa43b26aaf4d49539c86 (patch)
tree7066c3f2df77d1b3eaa40489afb4587725cee36c /management/editor/elements.go
parentab793d204399ea0b46ec1938cc23a4d84ea045b4 (diff)
moving interfaces around which complicated import cycles
Diffstat (limited to 'management/editor/elements.go')
-rw-r--r--management/editor/elements.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/management/editor/elements.go b/management/editor/elements.go
index 4a8ae55..bb2cb3f 100644
--- a/management/editor/elements.go
+++ b/management/editor/elements.go
@@ -242,8 +242,6 @@ func Select(fieldName string, p interface{}, attrs, options map[string]string) [
// find the field value in p to determine if an option is pre-selected
fieldVal := valueFromStructField(fieldName, p)
- // may need to alloc a buffer, as we will probably loop through options
- // and append the []byte from domElement() called for each option
attrs["class"] = "browser-default"
sel := newElement("select", attrs["label"], fieldName, p, attrs)
var opts []*element