From f33e7ca24ca2ddf7b13a626907ed1331cf7f2b7d Mon Sep 17 00:00:00 2001 From: Benjamin Hanzelmann Date: Tue, 2 Oct 2012 09:37:23 +0200 Subject: [PATCH] Fix 'number conversion' warn log when suppressStatus is unset --- nexus/nexus-webapp/src/main/webapp/js/Sonatype.view.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nexus/nexus-webapp/src/main/webapp/js/Sonatype.view.js b/nexus/nexus-webapp/src/main/webapp/js/Sonatype.view.js index a27bd2329b..5ec84fe04e 100644 --- a/nexus/nexus-webapp/src/main/webapp/js/Sonatype.view.js +++ b/nexus/nexus-webapp/src/main/webapp/js/Sonatype.view.js @@ -77,7 +77,9 @@ Sonatype.view = { return; } - if (!Ext.isArray(suppressed)) { + if (suppressed === undefined) { + suppressed = []; + } else if (!Ext.isArray(suppressed)) { suppressed = [suppressed]; }