Good news for AddFullAjax plugin and JComments component users. As you know, after installing the plugin AddFullAjax – JComments refused to work. The reason is the same as with LightBox.

To make this work, you need a small AddFullAjax configuration, somthing like for LightBox.

So just add next in plugin configuration :

FLAX.Html.onall('load', function(options){
  if(window.JCommentsInitializeForm && document.id('comments-form')){
    JCommentsInitializeForm();
  }
});

that’s all ;)

2 Comments to “ AddFullAjax and JComments conflict fix ”

  1. Андрей says:

    Я попробовал этот метод.. но он не полностью решил проблему с комментариями. А именно то, что он позволяет работать комментарию после обновления страницы комментария. Может у вас есть более актуальное решение данного конфликта с библиотеками комментариев ?

    Заранее спасибо.
    Андрей

Leave a Reply to Андрей Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>