aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-08-23 11:15:23 -0400
committerGitHub <noreply@github.com>2020-08-23 11:15:23 -0400
commit1ab853a4d5bb0fdfe329282be2ae213ec1563252 (patch)
treeea30788a164b054c45510a4a13fb04b78f338cae /ext/mixed/js
parenta96e1c20a7239254690822dac249c03a789ebd47 (diff)
Display owner frame (#751)
* Move ownerFrameId definition to Display * Rename _invoke to _invokeOwner
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/display.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 3f8a43ab..c3498e85 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -82,6 +82,7 @@ class Display extends EventDispatcher {
documentUtil: this._documentUtil
});
this._mode = null;
+ this._ownerFrameId = null;
this.registerActions([
['close', () => { this.onEscape(); }],
@@ -147,6 +148,14 @@ class Display extends EventDispatcher {
return this._mode;
}
+ get ownerFrameId() {
+ return this._ownerFrameId;
+ }
+
+ set ownerFrameId(value) {
+ this._ownerFrameId = value;
+ }
+
async prepare() {
this._updateMode();
this._setInteractive(true);