Skip to content

Commit

Permalink
Fix a side-effect of ZK-5455 for org.zkoss.zktest.zats.bind.basic.All…
Browse files Browse the repository at this point in the history
…functionTest test case.
  • Loading branch information
jumperchen committed Sep 26, 2024
1 parent 9319e4d commit a680853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zul/src/main/resources/web/js/zul/wgt/Popup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class Popup extends zul.Widget {
*/
open(ref?: Ref, offset?: zk.Offset, position?: string, opts?: PopupOptions): void {
this._fakeParent = zk.$(ref);
this._fakeParent!.listen({'onUnbindNow': this.proxy(this._fakeParentOnUnbind)});
this._fakeParent?.listen({'onUnbindNow': this.proxy(this._fakeParentOnUnbind)});
var posInfo = this._posInfo(ref, offset, position),
node = this.$n(),
$n = jq(node);
Expand Down

0 comments on commit a680853

Please sign in to comment.