Code fixed

This commit is contained in:
Vladimir Enchev
2016-06-01 10:32:28 +03:00
parent 28e6af0f9e
commit 1deb0149f7

View File

@ -39,8 +39,8 @@ function buildEntryFromArgs(arg: any): definition.NavigationEntry {
export function reloadPage(): void {
let frame = topmost();
if (frame) {
if (frame.currentPage && (<any>frame.currentPage)._modal) {
(<any>frame.currentPage)._modal.closeModal();
if (frame.currentPage && frame.currentPage.modal) {
frame.currentPage.modal.closeModal();
}
let currentEntry = frame._currentEntry.entry;