Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Porting a fix from smartClient

    Hi Isomorphic,

    There is an already fixed issue in smartclient 9-10, which was recently discussed in this thread: http://forums.smartclient.com/showthread.php?t=29340

    [Long story short, there is code that wraps a IE bug, but it uses a deprecated API (IE11 does not support document.selection) and it raises an exception.]

    .. but there is no information for SmartGWT 3.1p branch?
    I am trying with the build from 10.Aug.2014 (yesterday) and I see the wrong verification there.

    ISC_Forms.js, Line 853:
    Code:
     
    isc.A.$100a=function isc_FormItem__IESelectionStuck(){
      if(!isc.Browser.isIE)return false;
      try{
        var _1=document.selection?document.selection.typeDetail:null
      }catch(e){
        this.logDebug("Internet explorer native 'stuck focus' state detected");
        return true
      }
    }
    Then this call on Line 911 fails:
    Code:
    if(this.$100a()){document.selection.clear();....}
    The exception is caught and then re-thrown from ISC_Core.js ...

    We would be grateful if you include the patch in a 3.1p version; This breaks a critical workflow in our system, and if you say that there is not going to be an official patch, we'd have to wrap it the ugly way.
Working...
X