Лучший Ответ Germanius , 29 November 2013 - 01:50
Добавил в код
$.isFunction(window.insertTextOld) && window.insertTextOld(c, a);
вот это в конце перед ";"
{window.insertTextOld.stopPropagation()
потом почистил кеш из админки joomla и заработало....не знаю что это значит, вычитал на форуме забугорном и сделал по аналогии:
i don't see where your onclick code is or the action that calls fblogin() and i'm assuming the problem is when fblogin() gets called.
function fblogin(event) {
event.stopPropagation();
add an event parameter to each function fblogin(event) call so this can be cross browser compatible.
when an event occurs, it traverses to parent elements so they can inherit the event handler, in your case function fblogin(). when you stop propagation stopPropagation() you stop DOM traversing and the element that calls the function won't pass the handler to the parent if stopPropagation is set. that all means the browser will stop looping through all your DOM elements and making your jquery less recursive.
Может быть кому то пригодится


Тема закрыта







