The casing of the properties StartTime is different in Editor and Quickwindow actions. Is there a reason for this? Figuring this out just cost me a good while...
function onPopupOpen(args)
{
console.log(args.type, ":", args.data.startTime);
console.log(args.type, ":", args.data.StartTime);
}
Output:
QuickInfo : Sun Feb 10 2019 08:00:00 GMT+0000 (Greenwich Mean Time)
QuickInfo : undefined
Editor : undefined
Editor : Sun Feb 10 2019 08:00:00 GMT+0000 (Greenwich Mean Time)