From f3fc5b64e3047efbe55e21248ae444bdcde598c8 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 30 Sep 2010 11:50:55 -0600 Subject: [PATCH] args may not be defined --- imp/js/dimpcore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.11.0