1
0
Fork 0

CDU: add page accessor for testing

This commit is contained in:
James Turner 2020-03-23 12:55:40 +00:00
parent 84f0530a1d
commit de2c42d908

View file

@ -969,6 +969,15 @@ var CDU = {
me._savedPage = nil; me._savedPage = nil;
me.displayPage(saved, CDU.DISPLAY_POP); me.displayPage(saved, CDU.DISPLAY_POP);
}, },
getPage: func(tag) {
if (!contains(me._pages, tag)) {
debug.dump("no page with tag:" ~ tag);
return nil;
}
return me._pages[tag];
},
requestRefresh: func { requestRefresh: func {
me._refresh(); me._refresh();