From 362c36f4981c48bf8cc2ec95509c2470cd328c5e Mon Sep 17 00:00:00 2001
From: Renaud Le Gac <renaud.legac@free.fr>
Date: Sun, 28 Nov 2010 17:31:16 +0000
Subject: [PATCH] Clean the code.

---
 static/scripts/form_2.js |  2 +-
 static/scripts/grid_2.js | 12 ++----------
 2 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/static/scripts/form_2.js b/static/scripts/form_2.js
index 84c0ea02..61355c15 100755
--- a/static/scripts/form_2.js
+++ b/static/scripts/form_2.js
@@ -24,7 +24,7 @@ var main = function(provider, response){
 	var form = new App.form.EntryFormPanel(cfg);
 
 	// the viewport to hold the form
-	// using all space in the browser
+	// using all space available in the browser
 	var vp = new Ext.Viewport({
 		region: 'center',
 		layout: 'fit',
diff --git a/static/scripts/grid_2.js b/static/scripts/grid_2.js
index de57d22c..816078df 100755
--- a/static/scripts/grid_2.js
+++ b/static/scripts/grid_2.js
@@ -20,17 +20,9 @@ var main = function(provider, response){
 	
 	// instanciate the grid
 	var grid = new App.grid.Grid(cfg);
-	grid.store.load({
-		params: {
-			start: 0,
-			limit: 1
-		}
-	});
-	
-//	console.dir(grid);
-	
+
 	// the viewport to hold the grid
-	// using all space in the browser
+	// 	using all space available in the browser
 	var vp = new Ext.Viewport({
 		region: 'center',
 		layout: 'fit',
-- 
GitLab