From 6a6e721d71ce619151e36732a01c4a6c87ddc050 Mon Sep 17 00:00:00 2001
From: elena <ebudnik@irap.omp.eu>
Date: Fri, 11 Sep 2015 12:54:53 +0200
Subject: [PATCH] reset

---
 js/app/views/VisuUI.js |  9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/js/app/views/VisuUI.js b/js/app/views/VisuUI.js
index e3af96b..fd4e620 100644
--- a/js/app/views/VisuUI.js
+++ b/js/app/views/VisuUI.js
@@ -27,11 +27,6 @@ Ext.define('amdaUI.VisuUI', {
 		this.loadObject();
 	},
 		 
-	updateCount : function() 
-	{
-  		 	
- 		this.formPanel.getForm().findField('nbIntervals').setValue(this.object.get('nbIntervals'));
-	},
 	
 	reset : function() {
 								 
@@ -376,7 +371,9 @@ Ext.define('amdaUI.VisuUI', {
 						
 					},{   
 						type: 'button',
-						text: 'Reset'
+						text: 'Reset',
+						scope : this,
+						handler: this.reset
 					
 					}
 					]
--
libgit2 0.21.2