]> source.dussan.org Git - archiva.git/commitdiff
remove the default ajaxError as it can cause multiple error messages if call already...
authorOlivier Lamy <olamy@apache.org>
Mon, 16 Jan 2012 11:26:12 +0000 (11:26 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 16 Jan 2012 11:26:12 +0000 (11:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231934 13f79535-47bb-0310-9956-ffa450edef68

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

index a42a4093ffb95ca7593cf1e20739ce338b2d351e..d4af31e09fa22c8bd737f82f37a5f6c3263512ec 100644 (file)
@@ -73,10 +73,6 @@ displayWarningMessage=function(text,idToAppend){
   $(textId).focus();
 }
 
-$("#user-messages").ajaxError(function(e, jqxhr, settings, exception) {
-  displayErrorMessage( "ajaxError:"+exception );
-});
-
 /**
  * clear #main-content and call clearUserMessages
   */