Menu component: added clearAll method.

This commit is contained in:
Julia Radzhabova 2018-01-15 17:47:46 +03:00
parent 20b63727fd
commit 079a046587

View file

@ -1774,7 +1774,7 @@ define([
btnSubscript.toggle(index>-1, true);
if (index < 0) {
this._clearChecked(btnSubscript.menu);
btnSubscript.menu.clearAll();
} else {
btnSubscript.menu.items[index].setChecked(true);
if (btnSubscript.rendered) {
@ -1915,7 +1915,7 @@ define([
btnSubscript.toggle(index>-1, true);
if (index < 0) {
this._clearChecked(btnSubscript.menu);
btnSubscript.menu.clearAll();
} else {
btnSubscript.menu.items[index].setChecked(true);
if (btnSubscript.rendered) {