From 3996e9bb5c34bb111db1293e9fc49c001f995555 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Fri, 27 Sep 2013 14:07:04 -0400 Subject: [PATCH] Select to submit theme selector. --- themes/bootstrap/templates/header.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bootstrap/templates/header.phtml b/themes/bootstrap/templates/header.phtml index ea42f85af84..602fd237fd6 100644 --- a/themes/bootstrap/templates/header.phtml +++ b/themes/bootstrap/templates/header.phtml @@ -34,7 +34,7 @@ <div class="control-group"> <label class="control-label" for="themeForm_ui"><?=$this->transEsc("Theme")?>:</label> <div class="controls"> - <select id="themeForm_ui" name="ui"> + <select onChange="document.themeForm.submit()" id="themeForm_ui" name="ui"> <? foreach ($this->layout()->themeOptions as $current): ?> <option value="<?=$this->escapeHtml($current['name'])?>"<?=$current['selected'] ? ' selected="selected"' : ''?>><?=$this->transEsc($current['desc'])?></option> <? endforeach; ?> -- GitLab