]> source.dussan.org Git - archiva.git/commitdiff
avoid passing null in rest query parameter
authorOlivier Lamy <olamy@apache.org>
Mon, 28 May 2012 22:51:49 +0000 (22:51 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 28 May 2012 22:51:49 +0000 (22:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343414 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js

index 6ac851f75331dd4cb3fd426fb4fc1ba4ed8de963..c38ce483fc294384240d55b60dc1735fb1825ff0 100644 (file)
@@ -611,7 +611,7 @@ define("search",["jquery","i18n","jquery.tmpl","choosen","order!knockout","knock
       var repoId=selectedOption.val();
       return repoId;
     }
-    return null;
+    return "";
   }
 
   enableAutocompleBrowse=function(groupId){