Ignore:
Timestamp:
03/11/10 11:45:50 (2 years ago)
Author:
sys
Message:

free xed filter : gestion de la propriété isReadOnly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/model/sources/office/auth/editors/common.doss/_common/filter.xbl.xml

    r459 r530  
    9393                </content> 
    9494                <implementation> 
     95                        <!-- 
     96                        <property name="isReadOnly" onget="return this.hasAttribute('disabled')"> 
     97                                <setter> 
     98                                        if(val) this.setAttribute('disabled', 'true'); else this.removeAttribute('disabled'); 
     99                                        return val; 
     100                                </setter> 
     101                        </property> 
     102                        --> 
    95103                        <property name="checked" onget="return this.hasAttribute('checked');"> 
    96104                                <setter><![CDATA[ 
     
    102110                        <method name="toggle"> 
    103111                                <body><![CDATA[ 
     112                                        if(this.isReadOnly) return; 
    104113                                        this.checked = ! this.checked; 
    105114                                        this.parentNode.updateValue(); 
Note: See TracChangeset for help on using the changeset viewer.