[Jifty-commit] r924 - in jifty/branches/jifty-jsan: share/web/static/js share/web/templates/_elements

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Apr 24 22:48:58 EDT 2006


Author: trs
Date: Mon Apr 24 22:48:58 2006
New Revision: 924

Modified:
   jifty/branches/jifty-jsan/   (props changed)
   jifty/branches/jifty-jsan/share/web/static/js/key_bindings.js
   jifty/branches/jifty-jsan/share/web/templates/_elements/javascript

Log:
 r10027 at zot:  tom | 2006-04-24 22:48:38 -0400
 IE doesn't like binding to the window, but document works (should have just kept it in the first place, I guess)


Modified: jifty/branches/jifty-jsan/share/web/static/js/key_bindings.js
==============================================================================
--- jifty/branches/jifty-jsan/share/web/static/js/key_bindings.js	(original)
+++ jifty/branches/jifty-jsan/share/web/static/js/key_bindings.js	Mon Apr 24 22:48:58 2006
@@ -14,7 +14,7 @@
             return;
         
         Jifty.KeyBindings.listener = DOM.Events.addListener(
-                                        window,
+                                        document,
                                         "keydown",
                                         Jifty.KeyBindings.doClick
                                      );

Modified: jifty/branches/jifty-jsan/share/web/templates/_elements/javascript
==============================================================================
--- jifty/branches/jifty-jsan/share/web/templates/_elements/javascript	(original)
+++ jifty/branches/jifty-jsan/share/web/templates/_elements/javascript	Mon Apr 24 22:48:58 2006
@@ -31,7 +31,7 @@
       JSAN.addRespository('/static/js');
    */
       JSAN = {};
-      JSAN.use = function() {};
+      JSAN.use = function() { };
    </script>
 
 % for (@libs) {


More information about the Jifty-commit mailing list