revert keypress that does not work anyway
authorEugene Crosser <crosser@average.org>
Mon, 1 Sep 2008 13:13:23 +0000 (13:13 +0000)
committerEugene Crosser <crosser@average.org>
Mon, 1 Sep 2008 13:13:23 +0000 (13:13 +0000)
include/showwin.js

index 00f91ce3727cb48e9efc3c1c1e332ed35c47555b..7e4435745d83c9f567f57cb3cf9b948bd72e920b 100644 (file)
@@ -20,7 +20,6 @@ var showWindow = new Class({
                        container: document.body,
                        tohide: '',
                        onClick: $empty,
-                       onKeypress: $empty,
                }
        },
 
@@ -44,8 +43,6 @@ var showWindow = new Class({
                        display: 'none'
                }).addEvent('click', function(){
                        this.options.onClick()
-               }.bind(this)).addEvent('keypress', function(){
-                       this.options.onKeypress()
                }.bind(this)).injectInside(this.options.container);
 
                window.addEvent('resize', this.position.bind(this));