changeset 58:26863a7af202

Added action attributes to the buttons in the toolbar of the kommentar list
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 29 May 2013 15:22:38 +0200
parents 982f3130e7f3
children 9e23eca8dfc7
files app/view/kommentare/List.js
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/kommentare/List.js	Wed May 29 15:19:56 2013 +0200
+++ b/app/view/kommentare/List.js	Wed May 29 15:22:38 2013 +0200
@@ -18,11 +18,13 @@
                 items: [
                     {
                         text: 'Hinzufügen',
-                        icon: 'gfx/plus.gif'
+                        icon: 'gfx/plus.gif',
+                        action: 'add'
                     },
                     {
                         text: 'Löschen',
-                        icon: 'gfx/minus.gif'
+                        icon: 'gfx/minus.gif',
+                        action: 'delete'
                     }
                 ]
             }

http://lada.wald.intevation.org