[KSS-checkins] r44390 - kukit/kukit.js/trunk/kukit

reebalazs at codespeak.net reebalazs at codespeak.net
Wed Jun 20 14:07:48 CEST 2007


Author: reebalazs
Date: Wed Jun 20 14:07:44 2007
New Revision: 44390

Modified:
   kukit/kukit.js/trunk/kukit/serveraction.js
Log:
Change the log severity of 'No commands in kukit response' from warning to info.

Previously we thought we should signal this to the developer as an
indication to a problem, but now it is clear that there are 
perfectly valid use cases for a server action just change 
some content and not send back anything.

Modified: kukit/kukit.js/trunk/kukit/serveraction.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/serveraction.js	(original)
+++ kukit/kukit.js/trunk/kukit/serveraction.js	Wed Jun 20 14:07:44 2007
@@ -188,7 +188,7 @@
     var commands = kukit.dom.getNsTags(dom, 'command');
     // Warning, if there is a valid response containing 0 commands.
     if (commands.length == 0) {
-        ;;; kukit.logWarning('No commands in kukit response');
+        ;;; kukit.log('No commands in kukit response');
         return;
     }
     // One or more valid commands to parse


More information about the Kukit-checkins mailing list