diff app/view/grid/PKommentar.js @ 824:fab0b7be5aca

add disbled remove button to all grids which relate to proben or messungen. Messprogramme-grids are untouched. BUG: When the last entry is deleted, the button remains active
author Dustin Demuth <dustin@intevation.de>
date Fri, 29 May 2015 14:23:03 +0200
parents 5ed0e6273888
children 07dfcdf5b41f
line wrap: on
line diff
--- a/app/view/grid/PKommentar.js	Fri May 29 14:03:18 2015 +0200
+++ b/app/view/grid/PKommentar.js	Fri May 29 14:23:03 2015 +0200
@@ -142,7 +142,7 @@
             if (this.getPlugin('rowedit')){
                 this.getPlugin('rowedit').enable();
             }
-            this.down('button[action=delete]').enable();
+            //this.down('button[action=delete]').enable();
             this.down('button[action=add]').enable();
         }
     },

http://lada.wald.intevation.org