fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wielolinijkowy toolbar z dostosowywaniem wysokosci edytora.
[redakcja.git]
/
project
/
static
/
js
/
editor.js
diff --git
a/project/static/js/editor.js
b/project/static/js/editor.js
index
3ad2989
..
e615b79
100644
(file)
--- 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');
panel_hooks = null;
self.connectToolbar();
self.callHook('load');
+ self.callHook('toolbarResized');
},
error: function(request, textStatus, errorThrown) {
$.log('ajax', url, this.target, 'error:', textStatus, errorThrown);
},
error: function(request, textStatus, errorThrown) {
$.log('ajax', url, this.target, 'error:', textStatus, errorThrown);
@@
-140,6
+141,7
@@
Panel.prototype.connectToolbar = function()
else
$(this).show();
});
else
$(this).show();
});
+ self.callHook('toolbarResized');
}
});
});
}
});
});