[Lada-commits] [PATCH] Checkbox added to ProbeList and MessprogrammList

Wald Commits scm-commit at wald.intevation.org
Fri Jun 24 11:47:17 CEST 2016


# HG changeset patch
# User Evi Huber <ehuber at bfs.de>
# Date 1466761628 -7200
# Node ID f56f3970d7550bc620eb716f9ce2457f95ba7dd1
# Parent  a393d9650a0b45888dbfc0ddd0590306cf963060
Checkbox added to ProbeList and MessprogrammList

diff -r a393d9650a0b -r f56f3970d755 app/view/grid/MessprogrammeList.js
--- a/app/view/grid/MessprogrammeList.js	Wed Jun 08 12:44:03 2016 +0200
+++ b/app/view/grid/MessprogrammeList.js	Fri Jun 24 11:47:08 2016 +0200
@@ -18,6 +18,10 @@
     initComponent: function() {
         var i18n = Lada.getApplication().bundle;
         this.emptyText = i18n.getMsg('messprogramme.emptyGrid');
+        this.selModel = Ext.create('Ext.selection.CheckboxModel', {
+             checkOnly: true,
+             injectCheckbox: 0
+        });
 
         this.dockedItems = [{
             xtype: 'toolbar',
diff -r a393d9650a0b -r f56f3970d755 app/view/grid/ProbeList.js
--- a/app/view/grid/ProbeList.js	Wed Jun 08 12:44:03 2016 +0200
+++ b/app/view/grid/ProbeList.js	Fri Jun 24 11:47:08 2016 +0200
@@ -18,7 +18,10 @@
     initComponent: function() {
         var i18n = Lada.getApplication().bundle;
         this.emptyText = i18n.getMsg('probe.emptyGrid');
-
+        this.selModel = Ext.create('Ext.selection.CheckboxModel', {
+            checkOnly: true,
+            injectCheckbox: 1
+        });
         this.dockedItems = [{
             xtype: 'toolbar',
             dock: 'top',


More information about the Lada-commits mailing list