[SSE] Update plugins.
This commit is contained in:
parent
7c942b59c2
commit
280ba9e1cb
|
@ -614,15 +614,15 @@ define([
|
||||||
$.fn.dropdown.Constructor.prototype.keydown.call(menu_opened[0], e);
|
$.fn.dropdown.Constructor.prototype.keydown.call(menu_opened[0], e);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (this.mode.canPlugins && this.leftMenu.panelPlugins) {
|
if (this.mode.canPlugins && this.leftMenu.panelPlugins && this.api.isCellEdited!==true) {
|
||||||
menu_opened = this.leftMenu.panelPlugins.$el.find('#menu-plugin-container.open > [data-toggle="dropdown"]');
|
menu_opened = this.leftMenu.panelPlugins.$el.find('#menu-plugin-container.open > [data-toggle="dropdown"]');
|
||||||
if (menu_opened.length) {
|
if (menu_opened.length) {
|
||||||
$.fn.dropdown.Constructor.prototype.keydown.call(menu_opened[0], e);
|
$.fn.dropdown.Constructor.prototype.keydown.call(menu_opened[0], e);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.leftMenu.btnFile.pressed || this.leftMenu.btnAbout.pressed || this.leftMenu.btnPlugins.pressed ||
|
if (this.leftMenu.btnFile.pressed || this.leftMenu.btnAbout.pressed ||
|
||||||
$(e.target).parents('#left-menu').length && this.api.isCellEdited!==true) {
|
($(e.target).parents('#left-menu').length || this.leftMenu.btnPlugins.pressed) && this.api.isCellEdited!==true) {
|
||||||
this.leftMenu.close();
|
this.leftMenu.close();
|
||||||
Common.NotificationCenter.trigger('layout:changed', 'leftmenu');
|
Common.NotificationCenter.trigger('layout:changed', 'leftmenu');
|
||||||
return false;
|
return false;
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Binary file not shown.
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 34 KiB |
|
@ -14,7 +14,7 @@
|
||||||
.toolbar-btn-icon(btn-menu-chat, 59, @toolbar-icon-size);
|
.toolbar-btn-icon(btn-menu-chat, 59, @toolbar-icon-size);
|
||||||
.toolbar-btn-icon(btn-menu-about, 58, @toolbar-icon-size);
|
.toolbar-btn-icon(btn-menu-about, 58, @toolbar-icon-size);
|
||||||
.toolbar-btn-icon(btn-menu-support, 75, @toolbar-icon-size);
|
.toolbar-btn-icon(btn-menu-support, 75, @toolbar-icon-size);
|
||||||
.toolbar-btn-icon(btn-menu-plugin, 75, @toolbar-icon-size);
|
.toolbar-btn-icon(btn-menu-plugin, 81, @toolbar-icon-size);
|
||||||
|
|
||||||
button.notify .btn-menu-chat,
|
button.notify .btn-menu-chat,
|
||||||
button.notify.over > .btn-menu-chat {background-position: -0*@toolbar-icon-size -60*@toolbar-icon-size;}
|
button.notify.over > .btn-menu-chat {background-position: -0*@toolbar-icon-size -60*@toolbar-icon-size;}
|
||||||
|
|
Loading…
Reference in a new issue