args may not be defined
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 30 Sep 2010 17:50:55 +0000 (11:50 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 30 Sep 2010 17:50:55 +0000 (11:50 -0600)
imp/js/dimpcore.js

index 137c915..2b54bcc 100644 (file)
@@ -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));
             }