diff app/view/window/Ortszuordnung.js @ 1304:9f15a932a525

Fixed ort filter close actions.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 02 Feb 2017 14:40:26 +0100
parents 996607be4752
children 152fca74a839
line wrap: on
line diff
--- a/app/view/window/Ortszuordnung.js	Thu Feb 02 13:46:41 2017 +0100
+++ b/app/view/window/Ortszuordnung.js	Thu Feb 02 14:40:26 2017 +0100
@@ -290,6 +290,15 @@
         }
         osg.setLoading(false);
         map.setLoading(false);
-    }
+    },
+
+    onEsc: function() {
+        var me = this;
+        var search = me.down('textfield[name=search]');
+        if (search.hasFocus) {
+            return;
+        }
+        me.callParent(arguments);
+     }
 });
 

http://lada.wald.intevation.org