Author: reebalazs
Date: Thu Apr 24 15:19:19 2008
New Revision: 54085

Modified:
   kukit/kukit.js/branch/1.4/doc/HISTORY.txt
   kukit/kukit.js/branch/1.4/kukit/actionreg.js
Log:
Fix a typo that caused an exception instead of
logging an error message, when an action was redefined.

Modified: kukit/kukit.js/branch/1.4/doc/HISTORY.txt
==============================================================================
--- kukit/kukit.js/branch/1.4/doc/HISTORY.txt   (original)
+++ kukit/kukit.js/branch/1.4/doc/HISTORY.txt   Thu Apr 24 15:19:19 2008
@@ -6,6 +6,11 @@
     
     - ...
 
+    - Fix a typo that caused an exception instead of
+     logging an error message, this happened when
+     an action was regitered twice with the same name.
+     [ree]
+
 kukit.js - 1.4 Released 2008-04-21
 
     - Updated base2-dom-fp.js with newest version.

Modified: kukit/kukit.js/branch/1.4/kukit/actionreg.js
==============================================================================
--- kukit/kukit.js/branch/1.4/kukit/actionreg.js        (original)
+++ kukit/kukit.js/branch/1.4/kukit/actionreg.js        Thu Apr 24 15:19:19 2008
@@ -39,7 +39,8 @@
 ;;; }
     if (this.content[name]) {
         // do not allow redefinition
-;;;     kukit.logerror('error : action [' + name + '] already registered.');
+;;;     kukit.logError('error : action [' + name + '] already registered.');
+;;;     // XXX XXX We actually do allow it with a red warning now! (???)
         return;
         }
     this.content[name] = func;
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to