| Summary: | No refresh of folders after "Link to Server" | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Simon Kaegi <simon_kaegi> |
| Component: | Server | Assignee: | Susan McCourt <susan> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ken_walker, mamacdon, simon_kaegi |
| Version: | 2.0 | Flags: | mamacdon:
review+
simon_kaegi: review+ |
| Target Milestone: | 2.0 RC3 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Simon Kaegi
This was most likely introduced when removing a dojo.hitch. The UI refresh code was bound to the wrong object. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=af2777ca4f1d2416173290c852ac3eb44dc719c0 Branch is bug401326 this > function() { > ex.loadResourceList.bind(ex)(ex.treeRoot.Path, true); > }, // refresh the root is equivalent to just > function() { > ex.loadResourceList(ex.treeRoot.Path, true); > }, // refresh the root But either way it's fine, +1 What Mark said... +1
Alternately -- ex.loadResourceList.bind(ex, ex.treeRoot.Path, true);
But for now having ...
function() {
ex.loadResourceList(ex.treeRoot.Path, true);
}
... is probably the simplest and safest
thanks, Simon. |