| Index: web/inc/luci-operation/operation.ts
|
| diff --git a/web/inc/luci-operation/operation.ts b/web/inc/luci-operation/operation.ts
|
| index 5b1587c9592f788364631cddb009fdcbb0f34f7d..a881ae6cc859aaf68920558b489fa6f238d2d48f 100644
|
| --- a/web/inc/luci-operation/operation.ts
|
| +++ b/web/inc/luci-operation/operation.ts
|
| @@ -24,7 +24,7 @@ namespace luci {
|
| */
|
| static CANCELLED = new Error('Operation is cancelled');
|
|
|
| - private cancelledValue = false;
|
| + private _cancelled = false;
|
| private cancelCallbacks = new Array<() => void>();
|
|
|
| /**
|
| @@ -47,7 +47,7 @@ namespace luci {
|
|
|
| /** Cancelled returns true if this Operation has been cancelled. */
|
| get cancelled() {
|
| - return this.cancelledValue;
|
| + return this._cancelled;
|
| }
|
|
|
| /**
|
| @@ -72,7 +72,7 @@ namespace luci {
|
| }
|
|
|
| // Mark that we are cancelled, and cancel our parent (and so on...).
|
| - this.cancelledValue = true;
|
| + this._cancelled = true;
|
| this.cancelCallbacks.forEach(cb => asyncCall(cb));
|
| }
|
|
|
|
|