]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/main/webapp/argeo-ria-src/class/org/argeo/ria/components/TabbedViewPane.js
Interrupt close() action on download / implement closeCurrent() method
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / argeo-ria-src / class / org / argeo / ria / components / TabbedViewPane.js
index c5ed23ada0c278b4f9a62b71da8e89c422098e4b..f55a04d0223960a7a1450bf942569b7245840f8e 100644 (file)
@@ -129,10 +129,13 @@ qx.Class.define("org.argeo.ria.components.TabbedViewPane",
                        \r
                },\r
                focus : function(){\r
+                       if(this.hasFocus) return;\r
                        this.fireEvent("changeSelection");\r
                        this.setDecorator(this.focusedDecorator);\r
+                       this.hasFocus = true;\r
                }, \r
                blur : function(){\r
+                       this.hasFocus = false;\r
                        this.setDecorator(this.blurredDecorator);\r
                }\r
        }\r