When I disable Smiley in the administration form, this will have no effect in the front-end as smiley will still be rendered

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

darklrd’s picture

Did you try clearing Drupal and browser cache? Thanks.

mikaoelitiana@gmail.com’s picture

Yes I have cleared cache many times. I think this is not cache problem but code problem. In the js file, you can see
message = emotify(message);
So the emotify is always called without checking if smileys should be rendered or not.

mikaoelitiana@gmail.com’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta25
Status: Active » Needs review
FileSize
2.26 KB

Here is a patch for the version 7.x-1.0-beta25 that I am using on the production website. It solved it for me.

darklrd’s picture

Issue summary: View changes
Status: Needs review » Fixed

Thanks for the patch. It has been committed - http://drupalcode.org/project/drupalchat.git/commit/5bdcec5.

mikaoelitiana@gmail.com’s picture

You are welcome! Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.