[Simile-Widgets] Suppress JavaScript alerts

3 views
Skip to first unread message

toby.batch

unread,
May 11, 2010, 3:43:51 AM5/11/10
to SIMILE Widgets
Is there way to suppress the JavaScript alert that warns about bad
JSON. This was of great use while I was developing but now I'm send a
site live I would like to prevent these messages being displayed to
end users.

--
You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group.
To post to this group, send email to simile-...@googlegroups.com.
To unsubscribe from this group, send email to simile-widget...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.

mleden

unread,
May 11, 2010, 5:23:09 PM5/11/10
to SIMILE Widgets
Hi Toby,

Maybe I'm not quite understanding your question, but if the errors in
the JSON formatting are ignored how can Exhibit be expected to behave
normally? Again, maybe I'm missing what you're asking here, so please
provide more details if you think that might help me to better
understand.

-Mark

Toby Batch

unread,
May 15, 2010, 3:50:58 PM5/15/10
to simile-...@googlegroups.com
Sorry.

What happens is.  The page loads and the exhibit map displays, it starts to populate.  If I let it populate completely everything work perfectly.  However, if I navigate away from the page while the json is still being parsed I throw an error that is trapped and the alert is popped up.  I want to silence that as it does not effect the function of the page but does effect the use of the page.

Do you need any more info?  The site is available now on http://broads.neontribe.co.uk/content/area

mleden

unread,
May 17, 2010, 12:36:17 PM5/17/10
to SIMILE Widgets
Hi Toby,

I'm seeing the following error from that URL:
This web site needs a different Google Maps API key

Can you check it again?

Thx,
-Mark


On May 15, 12:50 pm, Toby Batch <toby.batch...@gmail.com> wrote:
> Sorry.
>
> What happens is.  The page loads and the exhibit map displays, it starts to
> populate.  If I let it populate completely everything work perfectly.
>  However, if I navigate away from the page while the json is
> still being parsed I throw an error that is trapped and the alert is popped
> up.  I want to silence that as it does not effect the function of the page
> but does effect the use of the page.
>
> Do you need any more info?  The site is available now onhttp://broads.neontribe.co.uk/content/area
>
>
>
> On Tue, May 11, 2010 at 10:23 PM, mleden <mle...@yahoo.com> wrote:
> > Hi Toby,
>
> > Maybe I'm not quite understanding your question, but if the errors in
> > the JSON formatting are ignored how can Exhibit be expected to behave
> > normally?  Again, maybe I'm missing what you're asking here, so please
> > provide more details if you think that might help me to better
> > understand.
>
> > -Mark
>
> > On May 11, 12:43 am, "toby.batch" <goo...@nfn.org.uk> wrote:
> > > Is there way to suppress the JavaScript alert that warns about bad
> > > JSON.  This was of great use while I was developing but now I'm send a
> > > site live I would like to prevent these messages being displayed to
> > > end users.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "SIMILE Widgets" group.
> > > To post to this group, send email to simile-...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > simile-widget...@googlegroups.com<simile-widgets%2Bunsu...@googlegroups.com>
> > .
> > > For more options, visit this group athttp://
> > groups.google.com/group/simile-widgets?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "SIMILE Widgets" group.
> > To post to this group, send email to simile-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > simile-widget...@googlegroups.com<simile-widgets%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages