drop debug alert
authorEugene Petrenko <eugene.petrenko@gmail.com>
Mon, 15 Aug 2011 15:06:21 +0000 (19:06 +0400)
committerEugene Petrenko <eugene.petrenko@gmail.com>
Mon, 15 Aug 2011 15:06:21 +0000 (19:06 +0400)
nuget-server/resources/tool/tools.js

index a573ab3f60df62f936fc67b613b1b5feff3117b1..50dd7c5be6c92cc503a2f717c6367c9d157339f7 100644 (file)
@@ -57,7 +57,6 @@ BS.NuGet.Tools = {
     },\r
 \r
     save : function() {\r
-\r
       BS.Util.show($('installNuGetApplyProgress'));\r
       BS.FormSaver.save(this, this.formElement().action, OO.extend(BS.ErrorsAwareListener, {\r
         onCompleteSave: function(form, responseXML, err) {\r
@@ -65,10 +64,9 @@ BS.NuGet.Tools = {
           var wereErrors = BS.XMLResponse.processErrors(responseXML, {}, form.propertiesErrorsHandler);\r
           BS.ErrorsAwareListener.onCompleteSave(form, responseXML, err);\r
 \r
-          alert("wereError = " + wereErrors);\r
           if (!wereErrors) {\r
             BS.NuGet.Tools.refreshPackagesList();\r
-            //form.close();\r
+            form.close();\r
           }\r
         }\r
       }));\r