summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/admin/handlers.go3
-rw-r--r--system/admin/static/dashboard/css/admin.css9
-rw-r--r--system/api/external.go3
-rw-r--r--system/db/config.go3
4 files changed, 15 insertions, 3 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index e1487c5..ff30040 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -1403,10 +1403,11 @@ func editHandler(res http.ResponseWriter, req *http.Request) {
if req.PostForm.Get(key) == "" {
req.PostForm.Set(key, v[0])
- discardKeys = append(discardKeys, k)
} else {
req.PostForm.Add(key, v[0])
}
+
+ discardKeys = append(discardKeys, k)
}
}
diff --git a/system/admin/static/dashboard/css/admin.css b/system/admin/static/dashboard/css/admin.css
index 8d2fb89..9cba7d0 100644
--- a/system/admin/static/dashboard/css/admin.css
+++ b/system/admin/static/dashboard/css/admin.css
@@ -185,6 +185,11 @@ li:hover .quick-delete-post, li:hover .delete-user {
padding: 20px;
}
+.controls button {
+ padding: 0px 10px 5px 10px;
+ position: relative;
+ top: -10px;
+}
/* OVERRIDE Bootstrap + Materialize conflicts */
.iso-texteditor.input-field label {
@@ -216,4 +221,8 @@ li:hover .quick-delete-post, li:hover .delete-user {
.approve-details {
text-align: right;
padding: 10px 0 !important;
+}
+
+select {
+ border: 1px solid #e2e2e2;
} \ No newline at end of file
diff --git a/system/api/external.go b/system/api/external.go
index 86e4a99..302b7c9 100644
--- a/system/api/external.go
+++ b/system/api/external.go
@@ -85,10 +85,11 @@ func externalContentHandler(res http.ResponseWriter, req *http.Request) {
if req.PostForm.Get(key) == "" {
req.PostForm.Set(key, v[0])
- discardKeys = append(discardKeys, k)
} else {
req.PostForm.Add(key, v[0])
}
+
+ discardKeys = append(discardKeys, k)
}
}
diff --git a/system/db/config.go b/system/db/config.go
index 0e49307..ce76021 100644
--- a/system/db/config.go
+++ b/system/db/config.go
@@ -34,10 +34,11 @@ func SetConfig(data url.Values) error {
if data.Get(key) == "" {
data.Set(key, v[0])
- discardKeys = append(discardKeys, k)
} else {
data.Add(key, v[0])
}
+
+ discardKeys = append(discardKeys, k)
}
}