Mercurial > lada > lada-client
comparison app/controller/Kommentare.js @ 536:fbe81214026a
Make tables editable for 'Kommentare'
See LSB 3.5
author | Roland Geider <roland.geider@intevation.de> |
---|---|
date | Wed, 17 Dec 2014 15:34:04 +0100 |
parents | 8b4ec61c5752 |
children | 99e738c17b81 |
comparison
equal
deleted
inserted
replaced
535:60c5c796a57e | 536:fbe81214026a |
---|---|
28 this.callParent(); | 28 this.callParent(); |
29 }, | 29 }, |
30 | 30 |
31 addListeners: function() { | 31 addListeners: function() { |
32 this.control({ | 32 this.control({ |
33 'kommentarelist': { | 33 //'kommentarelist': { |
34 itemdblclick: this.editItem | 34 // itemdblclick: this.editItem |
35 }, | 35 //}, |
36 'kommentarelist toolbar button[action=add]': { | 36 'kommentarelist toolbar button[action=add]': { |
37 click: this.addItem | 37 click: this.addItem |
38 }, | 38 }, |
39 'kommentarelist toolbar button[action=delete]': { | 39 'kommentarelist toolbar button[action=delete]': { |
40 click: this.deleteItem | 40 click: this.deleteItem |