[KSS-checkins] r42941 - in kukit/azax/branch/1.1-ree-plugin-dad/plugins: . draganddrop/browser

reebalazs at codespeak.net reebalazs at codespeak.net
Wed May 9 14:46:50 CEST 2007


Author: reebalazs
Date: Wed May  9 14:46:48 2007
New Revision: 42941

Modified:
   kukit/azax/branch/1.1-ree-plugin-dad/plugins/configure.zcml
   kukit/azax/branch/1.1-ree-plugin-dad/plugins/draganddrop/browser/kss_dragdrop.js
Log:
Small typo fix (and enable it)

Modified: kukit/azax/branch/1.1-ree-plugin-dad/plugins/configure.zcml
==============================================================================
--- kukit/azax/branch/1.1-ree-plugin-dad/plugins/configure.zcml	(original)
+++ kukit/azax/branch/1.1-ree-plugin-dad/plugins/configure.zcml	Wed May  9 14:46:48 2007
@@ -13,4 +13,7 @@
   <!-- The scriptaculous effects -->
   <include package=".effects" />
 
+  <!-- The scriptaculous drag and drop -->
+  <include package=".draganddrop" />
+
 </configure>

Modified: kukit/azax/branch/1.1-ree-plugin-dad/plugins/draganddrop/browser/kss_dragdrop.js
==============================================================================
--- kukit/azax/branch/1.1-ree-plugin-dad/plugins/draganddrop/browser/kss_dragdrop.js	(original)
+++ kukit/azax/branch/1.1-ree-plugin-dad/plugins/draganddrop/browser/kss_dragdrop.js	Wed May  9 14:46:48 2007
@@ -32,7 +32,7 @@
 kukit.draganddrop.DragAndDropEvent.prototype.__bind_drag__ = function(name, func_to_bind, oper) {
     // validate and set parameters
     oper.completeParms([], {'constraint' : 'none'}, 'dad-drag event binding');
-    if (oper.parms.constaint != 'horizontal' && oper.parms.constaint != 'vertical' && oper.parms.constaint != 'none') {
+    if (oper.parms.constraint != 'horizontal' && oper.parms.constraint != 'vertical' && oper.parms.constraint != 'none') {
         raise 'Unknown dad-drag constraint "' + oper.parms.constraint + '"';
     }
     if (this.isNotBoundDraggable(oper)) {


More information about the Kukit-checkins mailing list