]> source.dussan.org Git - archiva.git/commitdiff
cleanup table when removing a proxyConnectorRule
authorOlivier Lamy <olamy@apache.org>
Tue, 2 Oct 2012 21:11:26 +0000 (21:11 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 2 Oct 2012 21:11:26 +0000 (21:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1393182 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js

index 75c5f7c3e073d9d0dfa05bbe0a832431a8c0c928..d29108d68d4020687c0e863d067402dffc7f5284 100644 (file)
@@ -117,6 +117,7 @@ define("archiva.proxy-connectors-rules",["jquery","i18n","jquery.tmpl","bootstra
          dataType: 'json',
          success:function(data){
            var message=$.i18n.prop('proxy-connector-rule.deleted',proxyConnectorRule.pattern());
+           self.proxyConnectorRules.remove(proxyConnectorRule);
            displaySuccessMessage(message);
          },
          error: function(data) {