IE 11 Bug

Jan 2, 2014 at 6:23 PM
Edited Jan 2, 2014 at 6: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;
        }
Rayan
Coordinator
Jan 2, 2014 at 7:42 PM
Hi Rayan,

Thanks for providing the fix. Much appreciated!

Daniel Cai | http://www.kingswaysoft.com
Feb 12, 2014 at 1: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 9: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.

Rayan