- /**
- * Announces a changed active tray.
- *
- * @param {Drupal.toolbar.ToolbarModel} model
- * The toolbar model in question.
- * @param {HTMLElement} tray
- * The new value of the tray attribute in the model.
- */
- onActiveTrayChange: function (model, tray) {
- var relevantTray = (tray === null) ? model.previous('activeTray') : tray;
- var action = (tray === null) ? Drupal.t('closed') : Drupal.t('opened');