• Fabien Morin's avatar
    In Proxy Field, Widget properties show parent values. Here, even if delegated · f7d07bea
    Fabien Morin authored
    was checked on, the UI looked modifiable, and there was no difference in whether
    it was possible or not. And, when you changed a value which was delegated, the UI
    reports that the change was successful, but in reality the change was discarded.
    This interface was horribly confusing. In this commit, I use javascript to add
    the attribute readonly in case the checkbox is checked. This makes not possible to
    modify a field if the checkbox is checked, in this way, we should be able to
    avoid mistakes like before.
    
    I try it on browser with javascript disable and the behaviour is exacly like
    before, so this improvement benefit only to those who have javascript enable on
    their web browsers.
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35493 20353a03-c40f-0410-a6d1-a30d3c3de9de
    f7d07bea
proxyFieldEdit.dtml 5.88 KB