diff --git a/ui (gen4)/features/alias.js b/ui (gen4)/features/alias.js index a00dd3c3..2ee0e1fa 100755 --- a/ui (gen4)/features/alias.js +++ b/ui (gen4)/features/alias.js @@ -33,7 +33,9 @@ module.Alias = core.ImageGridFeatures.Feature({ function(_, alias, target){ console.log(alias, target) // remove alias... - if(target === null || target === false){ + // XXX is this test enough??? ...see ActionSet.alias(..) + if(arguments.length == 3 + && (target === null || target === false)){ var aliases = this.config.aliases || {} delete aliases[alias] diff --git a/ui (gen4)/package.json b/ui (gen4)/package.json index 1f7b17a6..cb73c321 100755 --- a/ui (gen4)/package.json +++ b/ui (gen4)/package.json @@ -22,7 +22,7 @@ "fs-walk": "^0.0.1", "glob": "^4.0.6", "guarantee-events": "^1.0.0", - "ig-actions": "^3.5.1", + "ig-actions": "^3.5.2", "ig-features": "^3.2.6", "ig-object": "^1.0.1", "openseadragon": "^2.3.0",