fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-11-24 07:20 am

[dw-free] weird warning in htdocs/tools/endpoints/esn_inbox.bml

[commit: http://hg.dwscoalition.org/dw-free/rev/5cbc72b2428f]

http://bugs.dwscoalition.org/show_bug.cgi?id=3252

Avoid warnings when we are not in single-entry view (and thus have no
itemid).

Patch by [personal profile] kareila.

Files modified:
  • htdocs/js/esn_inbox.js
--------------------------------------------------------------------------------
diff -r e8bea52b49f9 -r 5cbc72b2428f htdocs/js/esn_inbox.js
--- a/htdocs/js/esn_inbox.js	Wed Nov 24 14:53:42 2010 +0800
+++ b/htdocs/js/esn_inbox.js	Wed Nov 24 15:19:46 2010 +0800
@@ -261,7 +261,7 @@ ESN_Inbox.updateItems = function (action
         "qids": qids,
         "folder": folder,
         "cur_folder": cur_folder,
-        "itemid" : itemid
+        "itemid" : itemid || 0
     };
 
     var opts = {
--------------------------------------------------------------------------------
kareila: (Default)

[personal profile] kareila 2010-11-24 04:13 pm (UTC)(link)
For the record this patch was all [personal profile] fu! :)