diff app/controller/grid/PKommentar.js @ 826:2362f8ab1e9f

disable remove button after a item is deleted from grid
author Dustin Demuth <dustin@intevation.de>
date Fri, 29 May 2015 15:26:52 +0200
parents 4381a32d874f
children 0a233865a9c3
line wrap: on
line diff
--- a/app/controller/grid/PKommentar.js	Fri May 29 15:26:24 2015 +0200
+++ b/app/controller/grid/PKommentar.js	Fri May 29 15:26:52 2015 +0200
@@ -117,5 +117,6 @@
                 });
             }
         });
+        grid.down('button[action=delete]').disable();
     }
 });

http://lada.wald.intevation.org