()
| 33 | |
| 34 | // Update theme settings |
| 35 | var updateThemeSettings = function() { |
| 36 | themeSettings.setField("theme", { |
| 37 | 'label': "Themes", |
| 38 | 'type': "select", |
| 39 | 'options': _.object(_.map(themes, function(theme, themeId) { |
| 40 | return [theme.id, theme.title] |
| 41 | })) |
| 42 | }); |
| 43 | }; |
| 44 | |
| 45 | |
| 46 | // Define new themes |