Commit 635f2491 authored by Akikonata's avatar Akikonata

added event

parent 8475617c
...@@ -210,7 +210,7 @@ KityMinder.registerModule( "LayoutModule", function () { ...@@ -210,7 +210,7 @@ KityMinder.registerModule( "LayoutModule", function () {
return null; return null;
} }
km.select( selectedNode, true ); km.select( selectedNode, true );
km.textEditNode(selectedNode); km.textEditNode( selectedNode );
}, },
queryState: function ( km ) { queryState: function ( km ) {
var selectedNode = km.getSelectedNode(); var selectedNode = km.getSelectedNode();
...@@ -244,6 +244,7 @@ KityMinder.registerModule( "LayoutModule", function () { ...@@ -244,6 +244,7 @@ KityMinder.registerModule( "LayoutModule", function () {
var ico = e.kityEvent.targetShape && e.kityEvent.targetShape.container; var ico = e.kityEvent.targetShape && e.kityEvent.targetShape.container;
if ( ico && ico.class === "shicon" ) { if ( ico && ico.class === "shicon" ) {
this.expandNode( ico ); this.expandNode( ico );
this.fire( 'contentchange' );
} }
}, },
"resize": function ( e ) { "resize": function ( e ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment