From 38794de1cefa195a8e8caad34192965c1d9e61d3 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Mon, 6 Sep 2010 13:05:01 +0200 Subject: [PATCH] fix bug i sonia.rest.js --- scm-webapp/src/main/webapp/resources/js/sonia.rest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scm-webapp/src/main/webapp/resources/js/sonia.rest.js b/scm-webapp/src/main/webapp/resources/js/sonia.rest.js index 960883f977..dc3e34d38e 100644 --- a/scm-webapp/src/main/webapp/resources/js/sonia.rest.js +++ b/scm-webapp/src/main/webapp/resources/js/sonia.rest.js @@ -104,7 +104,7 @@ Sonia.rest.Grid = Ext.extend(Ext.grid.GridPanel, { items: [ {xtype: 'tbbutton', text: 'Add', scope: this, handler: this.showAddWindow}, {xtype: 'tbbutton', text: 'Edit', scope: this, handler: this.showEditWindow}, - {xtype: 'tbbutton', text: 'Remove', scope: this, handler: this.remove}, + {xtype: 'tbbutton', text: 'Remove', scope: this, handler: this.removeItem}, {xtype: 'tbbutton', text: 'Reload', scope: this, handler: this.reload}, {xtype: 'tbseparator'}, {xtype: 'label', text: 'Search: '}, @@ -230,7 +230,7 @@ Sonia.rest.Grid = Ext.extend(Ext.grid.GridPanel, { } }, - remove: function(){ + removeItem: function(){ if ( this.selModel.hasSelection() ){ var id = this.selModel.getSelected().data[this.idField];