diff options
author | Steve <nilslice@gmail.com> | 2016-10-19 00:09:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-19 00:09:28 -0700 |
commit | 0c77f3e89ac26913ce4b7de68fe9f5589ae77d8f (patch) | |
tree | 859e76f6d1335133ba8f62da72f068e79331880c /system/admin/config/config.go | |
parent | 2f3985491363dc0658ad8cf3a415a77c1825a67a (diff) | |
parent | c74bcc2ec1be59ded3634de1a871c73d9dffba98 (diff) |
Merge pull request #3 from bosssauce/ponzu-dev
[fundamental feature] Content type posts are sorted by time and cached in Admin, API coming soon.
Diffstat (limited to 'system/admin/config/config.go')
-rw-r--r-- | system/admin/config/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/admin/config/config.go b/system/admin/config/config.go index c5ef1cd..c83c311 100644 --- a/system/admin/config/config.go +++ b/system/admin/config/config.go @@ -97,6 +97,10 @@ func (c *Config) MarshalEditor() ([]byte, error) { right: '0px' }); + var contentOnly = $('.content-only.__ponzu'); + contentOnly.hide(); + contentOnly.find('input, textarea, select').attr('name', ''); + // adjust layout of td so save button is in same location as usual fields.find('td').css('float', 'right'); |