Mozilla browser issue

12 views
Skip to first unread message

Eric

unread,
May 1, 2013, 10:24:56 AM5/1/13
to eea-...@googlegroups.com
Greetings,

I keep getting this error in Mozilla

TypeError: href_array[0].endsWith is not a function
.../daviz-view.js
Line 1946

referring to this

jQuery(document).ready(function($){
    // workaround for firefox issue: http://taskman.eionet.europa.eu/issues/9941
    if (jQuery.browser.mozilla){
        var href = document.location.href;
        var href_array = href.split("#");
        if (!href_array[0].endsWith("/")){
            href_array[0] = href_array[0] + "/";
            var href2 = href_array.join("#");
            document.location = href2;
        }
}
// end of workaround 

and I have found that this workaround was added to fix this Bug #9941,

but it is interfering with my ability to run js in Mozilla (and I assume IE).

Has anyone experienced this or have advice on how best to address it?

Cheers!
Eric

Zoltan Szabo

unread,
May 2, 2013, 4:02:39 AM5/2/13
to eea-...@googlegroups.com
Hello Eric,

The issue is fixed now. For now you can check it out from git, and it will be included in the next egg release.

Cheers,
Zoli

Eric Hansen

unread,
May 2, 2013, 9:52:19 AM5/2/13
to eea-...@googlegroups.com
Thanks Zoli!
Cheers!


--
You received this message because you are subscribed to the Google Groups "EEA Daviz" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eea-daviz+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Eric
Reply all
Reply to author
Forward
0 new messages