From: zuber <marek@stepniowski.com> Date: Wed, 19 Aug 2009 21:39:51 +0000 (+0200) Subject: FIX: Naciśnięcie przycisku w toolbarze wstawiało id przycisku zamiast odpowiedniego... X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/df8c4d03972096be278e9143a773e20697f5ba5e?ds=sidebyside FIX: Naciśnięcie przycisku w toolbarze wstawiało id przycisku zamiast odpowiedniego tagu. --- diff --git a/apps/toolbar/templates/toolbar/toolbar.html b/apps/toolbar/templates/toolbar/toolbar.html index e04fb16f..03384179 100644 --- a/apps/toolbar/templates/toolbar/toolbar.html +++ b/apps/toolbar/templates/toolbar/toolbar.html @@ -10,7 +10,7 @@ {% for group in groups %} <ol id="{{ group.slug }}" style="display:none"> {% for button in group.button_set.all %} - <li p:tag="{{ button.slug }}" {% if button.key %}p:key="{{ button.key|keycode }}" title="Ctrl+{{ button.key }}"{% endif %}>{{ button.label }}</li> + <li p:tag="{{ button.tag }}" {% if button.key %}p:key="{{ button.key|keycode }}" title="Ctrl+{{ button.key }}"{% endif %}>{{ button.label }}</li> {% endfor %} </ol> {% endfor %}