Commit 82ab76ba523a5851833b028c31c11a4a78294010

Authored by Rodrigo Souto
1 parent cb9f5142

report-abuse: use modal url instead of inline

Showing 1 changed file with 3 additions and 6 deletions   Show diff stats
public/javascripts/report-abuse.js
1 1 jQuery(function($) {
2 2 $('.report-abuse-action').live('click', function() {
3   - if($(this).attr('href')){
4   - noosfero.modal.inline($(this).attr('href'), {
5   - innerHeight: '300px',
6   - innerWidth: '445px'
7   - });
8   - }
  3 + if($(this).attr('href'))
  4 + noosfero.modal.url($(this).attr('href'));
  5 +
9 6 return false;
10 7 });
11 8  
... ...