[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
kareila.
Files modified:
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
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 = {
--------------------------------------------------------------------------------

no subject