Changed note tree root link adding to use new note_tree_root_table id.
This commit is contained in:
parent
5af010fab7
commit
0908693946
|
@ -2617,7 +2617,7 @@ Note_tree.prototype.add_root_link = function ( editor ) {
|
||||||
"class": "note_tree_link"
|
"class": "note_tree_link"
|
||||||
}, editor.title || "untitled note" );
|
}, editor.title || "untitled note" );
|
||||||
|
|
||||||
appendChildNodes( "note_tree_area_holder", createDOM(
|
appendChildNodes( "note_tree_root_table", createDOM(
|
||||||
"tr",
|
"tr",
|
||||||
{ "id": "note_tree_item_" + editor.id, "class": "note_tree_item" },
|
{ "id": "note_tree_item_" + editor.id, "class": "note_tree_item" },
|
||||||
expander,
|
expander,
|
||||||
|
@ -2659,7 +2659,7 @@ Note_tree.prototype.update_link = function ( editor ) {
|
||||||
this.remove_link( editor.id );
|
this.remove_link( editor.id );
|
||||||
|
|
||||||
// TODO: if link is expanded, update child links (if any)
|
// TODO: if link is expanded, update child links (if any)
|
||||||
// TODO: hide/show the link's expander arrow based on the precense of outgoing links
|
// TODO: hide/show the link's expander arrow based on the presence of outgoing links
|
||||||
}
|
}
|
||||||
|
|
||||||
Note_tree.prototype.expand_link = function ( event, note_id ) {
|
Note_tree.prototype.expand_link = function ( event, note_id ) {
|
||||||
|
|
Reference in New Issue