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 418687
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/HTML5LocalFileImpl.js (-2 / +2 lines)
Lines 242-248 Link Here
242
			return this._getEntry(sourceLocation).then(function(entry) {
242
			return this._getEntry(sourceLocation).then(function(entry) {
243
				return that._getEntry(targetLocation).then(function(parent) {
243
				return that._getEntry(targetLocation).then(function(parent) {
244
					var d = new orion.Deferred();
244
					var d = new orion.Deferred();
245
					entry.moveTo(parent, name, function() {d.resolve();}, d.reject);
245
					entry.moveTo(parent, name, function() {d.resolve(that.read(targetLocation + "/" + name, true));}, d.reject);
246
					return d;
246
					return d;
247
				});
247
				});
248
			});
248
			});
Lines 263-269 Link Here
263
			return this._getEntry(sourceLocation).then(function(entry) {
263
			return this._getEntry(sourceLocation).then(function(entry) {
264
				return that._getEntry(targetLocation).then(function(parent) {
264
				return that._getEntry(targetLocation).then(function(parent) {
265
					var d = new orion.Deferred();
265
					var d = new orion.Deferred();
266
					entry.copyTo(parent, name, function() {d.resolve();}, d.reject);
266
					entry.copyTo(parent, name, function() {d.resolve(that.read(targetLocation + "/" + name, true));}, d.reject);
267
					return d;
267
					return d;
268
				});
268
				});
269
			});
269
			});

Return to bug 418687