FIX: Naciśnięcie przycisku w toolbarze wstawiało id przycisku zamiast odpowiedniego...
[redakcja.git] / apps / toolbar / templates / toolbar / toolbar.html
index e04fb16..0338417 100644 (file)
@@ -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 %}