mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +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 closeProxy = function () {
|
||||
that._hideNativeModalView(parent);
|
||||
closeCallback.apply(undefined, arguments);
|
||||
if (closeCallback){
|
||||
closeCallback.apply(undefined, arguments);
|
||||
}
|
||||
};
|
||||
|
||||
this.notify({
|
||||
|
Reference in New Issue
Block a user