Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 494672
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.client.javascript/web/javascript/javascriptProject.js (-6 / +12 lines)
Lines 358-369 define([ Link Here
358
				var f = file,
358
				var f = file,
359
					toQ, toN;
359
					toQ, toN;
360
				if(typeof f === "object") {
360
				if(typeof f === "object") {
361
					if(state === "onDeleted") {
361
					switch(state) {
362
						f = f.deleteLocation;
362
						case "onDeleted" :
363
					} else if(state === "onMoved") {
363
							f = f.deleteLocation;
364
						toQ = f.result ? f.result.Location : undefined;
364
							break;
365
						toN = f.result ? f.result.Name : undefined;
365
						case "onMoved" :
366
						f = f.source;
366
							toQ = f.result ? f.result.Location : undefined;
367
							toN = f.result ? f.result.Name : undefined;
368
							f = f.source;
369
							break;
370
						case "onCreated" :
371
							f = f.result.Location;
372
							break;
367
					}
373
					}
368
				}
374
				}
369
				delete this.map[f];
375
				delete this.map[f];

Return to bug 494672