mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Added null check for closeCallback
This commit is contained in:
@ -210,7 +210,9 @@ export class Page extends contentView.ContentView implements dts.Page {
|
|||||||
var that = this;
|
var that = this;
|
||||||
var closeProxy = function () {
|
var closeProxy = function () {
|
||||||
that._hideNativeModalView(parent);
|
that._hideNativeModalView(parent);
|
||||||
closeCallback.apply(undefined, arguments);
|
if (closeCallback){
|
||||||
|
closeCallback.apply(undefined, arguments);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this.notify({
|
this.notify({
|
||||||
|
Reference in New Issue
Block a user