Commit 776c3667 authored by Akikonata's avatar Akikonata

added queryValue

parent c949ffd1
......@@ -49,6 +49,10 @@ KityMinder.registerModule( "IconModule", function () {
nodes[ i ].setData( "PriorityIcon", value );
km.updateLayout( nodes[ i ] );
}
},
queryValue: function ( km ) {
var node = km.getSelectedNode();
return node.getData( "PriorityIcon" );
}
};
} )() );
......@@ -61,6 +65,10 @@ KityMinder.registerModule( "IconModule", function () {
nodes[ i ].setData( "ProgressIcon", value );
km.updateLayout( nodes[ i ] );
}
},
queryValue: function ( km ) {
var node = km.getSelectedNode();
return node.getData( "ProgressIcon" );
}
};
} )() );
......
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