Fixed a Javascript error with the wbDisable logic
Merge pull request #3221 from LaurentGoderre/v4.0-wbdisable-fix

Fixed a Javascript error with the wbDisable logic