Announcement

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

    Unreachable code in ISC_Grids.js and ISC_Forms.js

    When preparing for upgrade to SC 10 I noticed that Firefox warns about two cases of unreachable code in SmartClient 10.0 (v10.0p_2015-09-24/PowerEdition):

    1. modules-debug/ISC_Grids.js:81678 (handleRightMouseDown), looks like runaway "return returnVal":
    Code:
                return this.Super("handleRightMouseDown", arguments);
                return returnVal;
    2. modules-debug/ISC_Forms.js:54774 (refreshDisplayValue), method does nothing:
    Code:
            return;
            if (this._loadingData()) return;
    
            if (this._pendingElementValue) return;
            return this.Super("refreshDisplayValue", arguments);
Working...
X