Author: reebalazs
Date: Thu Apr 24 15:23:13 2008
New Revision: 54087

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

Modified: kukit/kukit.js/trunk/doc/HISTORY.txt
==============================================================================
--- kukit/kukit.js/trunk/doc/HISTORY.txt        (original)
+++ kukit/kukit.js/trunk/doc/HISTORY.txt        Thu Apr 24 15:23:13 2008
@@ -11,6 +11,13 @@
       still broken in IE6)
       [gotcha]
 
+    - 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.
       [ree]
 

Modified: kukit/kukit.js/trunk/kukit/actionreg.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/actionreg.js     (original)
+++ kukit/kukit.js/trunk/kukit/actionreg.js     Thu Apr 24 15:23:13 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