This project is read-only.

IE 11 Bug

Jan 2, 2014 at 7:23 PM
Edited Jan 2, 2014 at 7:24 PM
Thanks for the great toolkit.

I noticed that there is a bug with IE 11 with CRM 2011 server (Rollup 15). Here is how I was able to fix it:
  var clientUrl = (function () {
        var cURL;
        try {
          cURL = context.getClientUrl();
        } catch(e) {
        if (cURL !== undefined){
            return cURL;
Jan 2, 2014 at 8:42 PM
Hi Rayan,

Thanks for providing the fix. Much appreciated!

Daniel Cai |
Feb 12, 2014 at 2:13 PM
In what functions or in what scenarios would this bug occur?

I'm just wondering if I need to update the library on my installation....
Feb 13, 2014 at 10:10 PM
I'm using the code in a Web Resource. The code handles the case when the context.getClientUrl() is undefined. The should not happen, however since the .getClientUrl() is a new function, I suspect there is a bug with Microsoft's code.