From 82ab76ba523a5851833b028c31c11a4a78294010 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 22 Apr 2015 17:15:55 -0300 Subject: [PATCH] report-abuse: use modal url instead of inline --- public/javascripts/report-abuse.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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