Closed brianjgeiger closed 10 years ago
It appears that the problem is that reloading the folder refreshes the children of the folder, not the folder itself. I was about to log another bug where, for example, if I rename the folder and reload it, the new name would not appear. However, as both that and this seem to be the same issue, I'll just put it here.
This was my problem, not HGrid's, so well done. It still doesn't update the name, but I will either submit that separately or fix it in my code.
Using reloadFolder() on a leaf folder causes the folder to disappear from the hgrid, even if reloading would have made it into a non-leaf folder. Attached is a gif of reloading a branch folder, then a leaf folder, and reloading the page to show that the leaf folder should still be in the structure.
The error is "Invalid or non-matching id" on line 3585 of hgrid.js.