Advertisement:

Author Topic: Add Comment > flash message  (Read 2923 times)

code monkey

  • Full Member
  • ***
  • Posts: 204
Add Comment > flash message
« on: March 13, 2011, 01:15:39 am »
/item.php

Line 320:

Code: [Select]
            case 'add_comment':
                $mItem = new ItemActions(false);
                $mItem->add_comment();

                $this->redirectTo( Params::getParam('itemURL') );
                break;

Change to:

Code: [Select]
            case 'add_comment':
                $mItem = new ItemActions(false);
                $mItem->add_comment();

osc_add_flash_message( _m('Your comment is awaiting moderation')) ;
                $this->redirectTo( Params::getParam('itemURL') );
                break;



_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Add Comment > flash message
« Reply #1 on: March 14, 2011, 12:28:13 pm »
Hi,

I created a issue in other bug/task system, you could follow the development here : http://issues.osclass.org/browse/OSCLASS-367

Thanks!

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Add Comment > flash message
« Reply #2 on: March 14, 2011, 02:24:43 pm »
Fixed!