|
|
@ -1092,8 +1092,8 @@ Messenger, MessengerUI, Messages) {
|
|
|
|
tb['useradmin'] = createUserAdmin;
|
|
|
|
tb['useradmin'] = createUserAdmin;
|
|
|
|
tb['unpinnedWarning'] = createUnpinnedWarning;
|
|
|
|
tb['unpinnedWarning'] = createUnpinnedWarning;
|
|
|
|
|
|
|
|
|
|
|
|
var addElement = toolbar.addElement = function (arr, additionnalCfg, init) {
|
|
|
|
var addElement = toolbar.addElement = function (arr, additionalCfg, init) {
|
|
|
|
if (typeof additionnalCfg === "object") { $.extend(true, config, additionnalCfg); }
|
|
|
|
if (typeof additionalCfg === "object") { $.extend(true, config, additionalCfg); }
|
|
|
|
arr.forEach(function (el) {
|
|
|
|
arr.forEach(function (el) {
|
|
|
|
if (typeof el !== "string" || !el.trim()) { return; }
|
|
|
|
if (typeof el !== "string" || !el.trim()) { return; }
|
|
|
|
if (typeof tb[el] === "function") {
|
|
|
|
if (typeof tb[el] === "function") {
|
|
|
|