Gitlab CSE Unil

Commit fb25bbb0 authored by M. Chardon's avatar M. Chardon
Browse files

correction bug affichage barre d'outil si id <> 1

parent b915f0e8
......@@ -5526,6 +5526,7 @@ EDITOR.prototype = {
if (axisselector) {
axisselector.on('change', this.update_custom_toolbars, this);
}
this.update_custom_toolbars();
Y.all(SELECTOR.CUSTOMTOOLBARBUTTONS).each(function (toolnode) {
var toolid = toolnode.get('id');
var toollib = toolnode.getAttribute('data-tool');
......
......@@ -5526,6 +5526,7 @@ EDITOR.prototype = {
if (axisselector) {
axisselector.on('change', this.update_custom_toolbars, this);
}
this.update_custom_toolbars();
Y.all(SELECTOR.CUSTOMTOOLBARBUTTONS).each(function (toolnode) {
var toolid = toolnode.get('id');
var toollib = toolnode.getAttribute('data-tool');
......
......@@ -772,6 +772,7 @@ EDITOR.prototype = {
if (axisselector) {
axisselector.on('change', this.update_custom_toolbars, this);
}
this.update_custom_toolbars();
Y.all(SELECTOR.CUSTOMTOOLBARBUTTONS).each(function (toolnode) {
var toolid = toolnode.get('id');
var toollib = toolnode.getAttribute('data-tool');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment