mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Emit cursor event after listing on unlisting leaf nodes
This commit is contained in:
parent
80d5067813
commit
f55bd4b77c
|
@ -124,6 +124,7 @@ es.ListButtonTool.prototype.list = function( nodes, style ) {
|
|||
}
|
||||
|
||||
surface.model.select( selection, true );
|
||||
surface.emitCursor();
|
||||
};
|
||||
|
||||
es.ListButtonTool.prototype.unlist = function( nodes ) {
|
||||
|
@ -265,6 +266,7 @@ es.ListButtonTool.prototype.unlist = function( nodes ) {
|
|||
}
|
||||
}
|
||||
surface.model.select( selection, true );
|
||||
surface.emitCursor();
|
||||
};
|
||||
|
||||
es.ListButtonTool.prototype.onClick = function() {
|
||||
|
|
Loading…
Reference in a new issue