AntonLV 5 лет назад
Родитель
Сommit
3cfba2de51
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      modules/boonex/timeline/js/post.js

+ 3 - 1
modules/boonex/timeline/js/post.js

@@ -198,7 +198,9 @@ BxTimelinePost.prototype.afterFormAttachLinkSubmit = function (oForm, oData)
                 iEventId = parseInt(oData.event_id);
 
             var oItem = $(oData.item).hide();
-            $('#' + $this._aHtmlIds['attach_link_form_field'] + iEventId).prepend(oItem).find('#' + oItem.attr('id')).bx_anim('show', $this._sAnimationEffect, $this._sAnimationSpeed);
+            $('#' + $this._aHtmlIds['attach_link_form_field'] + iEventId).prepend(oItem).find('#' + oItem.attr('id')).bx_anim('show', $this._sAnimationEffect, $this._sAnimationSpeed, function() {
+                $(this).bxProcessHtml();
+            });
 
             $this._oAttachedLinks[oData.url] = oData.id;
             return;