initialize root node in the init function so that it can be translated
This commit is contained in:
@ -99,10 +99,11 @@ function refreshStatus() {
|
||||
}
|
||||
|
||||
var treeRevision = -1
|
||||
var root = new Node("root",null,false, null, _t("Shared Files"), -1, null, false, false, -1)
|
||||
var root
|
||||
var nodesById = new Map()
|
||||
|
||||
function initFiles() {
|
||||
root = new Node("root",null,false, null, _t("Shared Files"), -1, null, false, false, -1)
|
||||
setInterval(refreshStatus, 3000)
|
||||
setTimeout(refreshStatus, 1)
|
||||
|
||||
|
Reference in New Issue
Block a user