From: Michael M Slusarz Date: Thu, 30 Sep 2010 17:50:55 +0000 (-0600) Subject: args may not be defined X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f3fc5b64e3047efbe55e21248ae444bdcde598c8;p=horde.git args may not be defined --- diff --git a/imp/js/dimpcore.js b/imp/js/dimpcore.js index 137c91502..2b54bcc27 100644 --- a/imp/js/dimpcore.js +++ b/imp/js/dimpcore.js @@ -268,7 +268,7 @@ var DimpCore = { params.type = type; } - if (type.startsWith('forward') || !args.uids) { + if (type.startsWith('forward') || !args || !args.uids) { if (type.startsWith('forward')) { params.uids = this.toRangeString(this.selectionToRange(args.uids)); }