X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1c64c03bd096ac6c92bee4361926611be3d22259..cd69a086aa9ce06b83f277b24e2992238654c320:/project/static/js/editor.js?ds=sidebyside diff --git a/project/static/js/editor.js b/project/static/js/editor.js index 3ad29898..e615b790 100644 --- a/project/static/js/editor.js +++ b/project/static/js/editor.js @@ -52,6 +52,7 @@ Panel.prototype.load = function (url) { panel_hooks = null; self.connectToolbar(); self.callHook('load'); + self.callHook('toolbarResized'); }, error: function(request, textStatus, errorThrown) { $.log('ajax', url, this.target, 'error:', textStatus, errorThrown); @@ -140,6 +141,7 @@ Panel.prototype.connectToolbar = function() else $(this).show(); }); + self.callHook('toolbarResized'); } }); });