From 1c1ff2d3348bb8c064fbf57ddc6dd9ca388ad89a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 16 Jan 2012 11:26:12 +0000 Subject: [PATCH] remove the default ajaxError as it can cause multiple error messages if call already implement it git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231934 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/js/archiva/utils.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/utils.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/utils.js index a42a4093f..d4af31e09 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/utils.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/utils.js @@ -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 */ -- 2.39.5