mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
This commit is contained in:
parent
9a1b8148e1
commit
a70fc3ec33
1 changed files with 3 additions and 0 deletions
|
|
@ -128,6 +128,8 @@ func TransferBlockRef(fromID, toID string) (err error) {
|
||||||
}
|
}
|
||||||
toRefText := getNodeRefText(toNode)
|
toRefText := getNodeRefText(toNode)
|
||||||
|
|
||||||
|
util.PushMsg(Conf.Language(116), 7000)
|
||||||
|
|
||||||
refIDs, _ := sql.QueryRefIDsByDefID(fromID, false)
|
refIDs, _ := sql.QueryRefIDsByDefID(fromID, false)
|
||||||
for _, refID := range refIDs {
|
for _, refID := range refIDs {
|
||||||
tree, _ := loadTreeByBlockID(refID)
|
tree, _ := loadTreeByBlockID(refID)
|
||||||
|
|
@ -150,6 +152,7 @@ func TransferBlockRef(fromID, toID string) (err error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sql.WaitForWritingDatabase()
|
||||||
util.ReloadUI()
|
util.ReloadUI()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue