diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 93d47740..4eccbac7 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -11,13 +11,6 @@ todo: telephone fields on entry forms need a control to trigger dialing todo: email fields on entry forms need a control to trigger emailing same as above for tel -todo: geocapture item gone from menu for customer WTF? - check if it's showing on local, maybe it's a permissions thing - if it's a permissions thing and hiding the option if assuming no permission then do the opposite - show the option and that should trigger the browser to ask for permission when they use it - -todo: mobile form of datagrid not exactly clear to click on name to open record - the name looks a little blended in, needs underline URL style maybe or something bolder todo: iPad view on map shows error about browser not allowing popups, however it does work so remove the error would be best diff --git a/ayanova/src/api/gzutil.js b/ayanova/src/api/gzutil.js index 4d10db31..7be39f27 100644 --- a/ayanova/src/api/gzutil.js +++ b/ayanova/src/api/gzutil.js @@ -738,11 +738,13 @@ export default { ); } - if (window.open(mapUrl, "map") == null) { - throw new Error( - "Problem displaying map in new window. Browser must allow pop-ups to view maps; check your browser setting" - ); - } + //This is not valid to do as some platforms don't open a new web browser window + //but rather a map application in which case this is null and throws up the exception even though it's working + // if (window.open(mapUrl, "map") == null) { + // throw new Error( + // "Problem displaying map in new window. Browser must allow pop-ups to view maps; check your browser setting" + // ); + // } }, /////////////////////////////////////////////// // Online mapping service url formats