diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-05-13 14:52:13 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-05-13 14:52:13 +0300 |
commit | 9da585a004c217b5123d8d9395de56c2c739739d (patch) | |
tree | 276528685b0a017466701eefb7ec8cbf47d01052 | |
parent | b9febcb27cc9703233ef9938d3883dde0de31862 (diff) | |
parent | 6144afe65e194f846be8c4712566feb480eef779 (diff) |
Merge pull request #27 from owncloud/fix-theme-selection
fix theme selection
-rw-r--r-- | js/settings-admin.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/settings-admin.js b/js/settings-admin.js index 67ffb71..a48e11a 100644 --- a/js/settings-admin.js +++ b/js/settings-admin.js @@ -1,6 +1,9 @@ $(document).ready(function() { var loadTemplate = function (theme, template) { + if (template === '' || theme === '') { + return; + } //the first time we load a template show the editor $( '#mailTemplateSettings .templateEditor:hidden').show(400); $( '#mailTemplateSettings .templateEditor + .actions:hidden').show(400); |