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 = {
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org