Mercurial > lada > lada-client
comparison app/view/widget/base/Datetime.js @ 1016:d6e259e76de6
Updated filter value handling.
* Save and reset buttons for values
* Reload and update query stores
* set correct values on reset.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 02 Feb 2016 15:26:43 +0100 |
parents | c75f13578315 |
children |
comparison
equal
deleted
inserted
replaced
1015:af9879d72310 | 1016:d6e259e76de6 |
---|---|
90 var errorText = i18n.getMsg(this.name) + ': ' + errors; | 90 var errorText = i18n.getMsg(this.name) + ': ' + errors; |
91 fieldset.showWarningOrError(false, '', true, errorText); | 91 fieldset.showWarningOrError(false, '', true, errorText); |
92 } | 92 } |
93 }, | 93 }, |
94 | 94 |
95 getValue: function() { | |
96 return this.down('datetimefield').getValue(); | |
97 }, | |
98 | |
99 setValue: function(value) { | |
100 this.down('datetimefield').setValue(value); | |
101 }, | |
102 | |
95 clearWarningOrError: function() { | 103 clearWarningOrError: function() { |
96 this.down('datetimefield').clearInvalid(); | 104 this.down('datetimefield').clearInvalid(); |
97 this.down('image[name=errorImg]').hide(); | 105 this.down('image[name=errorImg]').hide(); |
98 this.down('image[name=warnImg]').hide(); | 106 this.down('image[name=warnImg]').hide(); |
99 }, | 107 }, |