Commit 01d3d9643226a8aadd0a4a2689d4c662eb30c74f
1 parent
e7af4847
Exists in
refactor_download_block
Removes debug lines on js file
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
Showing
1 changed file
with
1 additions
and
5 deletions
Show diff stats
src/noosfero-spb/software_communities/public/blocks/software-download.js
| @@ -11,12 +11,8 @@ modulejs.define('SoftwareDownload', ['jquery', 'NoosferoRoot'], function($, Noos | @@ -11,12 +11,8 @@ modulejs.define('SoftwareDownload', ['jquery', 'NoosferoRoot'], function($, Noos | ||
| 11 | function getDownloadListTemplate() { | 11 | function getDownloadListTemplate() { |
| 12 | $.get(AJAX_URL.get_download_template, { profile: noosfero.profile }) | 12 | $.get(AJAX_URL.get_download_template, { profile: noosfero.profile }) |
| 13 | .done(function(response) { | 13 | .done(function(response) { |
| 14 | - console.log("asdasd"); | ||
| 15 | - console.log(response); | ||
| 16 | $download_html_template = response; | 14 | $download_html_template = response; |
| 17 | - }).fail(function() { | ||
| 18 | - alert( "error" ); | ||
| 19 | - }); | 15 | + }); |
| 20 | } | 16 | } |
| 21 | 17 | ||
| 22 | 18 |