Commit 6a6e721d71ce619151e36732a01c4a6c87ddc050
1 parent
5f9cb81b
Exists in
master
and in
112 other branches
reset
Showing
1 changed file
with
3 additions
and
6 deletions
Show diff stats
js/app/views/VisuUI.js
... | ... | @@ -27,11 +27,6 @@ Ext.define('amdaUI.VisuUI', { |
27 | 27 | this.loadObject(); |
28 | 28 | }, |
29 | 29 | |
30 | - updateCount : function() | |
31 | - { | |
32 | - | |
33 | - this.formPanel.getForm().findField('nbIntervals').setValue(this.object.get('nbIntervals')); | |
34 | - }, | |
35 | 30 | |
36 | 31 | reset : function() { |
37 | 32 | |
... | ... | @@ -376,7 +371,9 @@ Ext.define('amdaUI.VisuUI', { |
376 | 371 | |
377 | 372 | },{ |
378 | 373 | type: 'button', |
379 | - text: 'Reset' | |
374 | + text: 'Reset', | |
375 | + scope : this, | |
376 | + handler: this.reset | |
380 | 377 | |
381 | 378 | } |
382 | 379 | ] |
... | ... |