diff --git a/public/javascripts/report-abuse.js b/public/javascripts/report-abuse.js index dcd25b8..3bca0d5 100644 --- a/public/javascripts/report-abuse.js +++ b/public/javascripts/report-abuse.js @@ -1,11 +1,8 @@ jQuery(function($) { $('.report-abuse-action').live('click', function() { - if($(this).attr('href')){ - noosfero.modal.inline($(this).attr('href'), { - innerHeight: '300px', - innerWidth: '445px' - }); - } + if($(this).attr('href')) + noosfero.modal.url($(this).attr('href')); + return false; }); -- libgit2 0.21.2