Mercurial > lada > lada-client
comparison app/controller/Filter.js @ 994:092e245b13a4
draft implementation of the status-reset function: Todo: move this into a 'confirmation dialog'
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 07 Jan 2016 16:19:41 +0100 |
parents | 96e04c258b8f |
children | 23bfcbdb4527 |
comparison
equal
deleted
inserted
replaced
992:77ea9a5c5f1d | 994:092e245b13a4 |
---|---|
31 */ | 31 */ |
32 init: function() { | 32 init: function() { |
33 this.control({ | 33 this.control({ |
34 // CSS like selector to select element in the viewport. See | 34 // CSS like selector to select element in the viewport. See |
35 // ComponentQuery documentation for more details. | 35 // ComponentQuery documentation for more details. |
36 'combobox[name=filter]': { | 36 'filterpanel combobox[name=filter]': { |
37 // Map Select event | 37 // Map Select event |
38 select: this.selectSql | 38 select: this.selectSql |
39 }, | 39 }, |
40 'button[action=search]': { | 40 'filterpanel button[action=search]': { |
41 // Map click event on Button. | 41 // Map click event on Button. |
42 click: this.search | 42 click: this.search |
43 }, | 43 }, |
44 'button[action=reset]': { | 44 'filterpanel button[action=reset]': { |
45 // Map click event on Button. | 45 // Map click event on Button. |
46 click: this.reset | 46 click: this.reset |
47 }, | 47 }, |
48 'menuitem[action=about]': { | 48 'menuitem[action=about]': { |
49 // Map click event on Button. | 49 // Map click event on Button. |