Fix #1431 Js binding issue with disabled link
Merge pull request #612 from nlegoff/fix_1431

[3.8] Fix #1431 Js binding issue with disabled link