Ticket #2918: 2918_2.patch

File 2918_2.patch, 731 bytes (added by Martin Kou, 14 years ago)
  • _source/plugins/dialogui/plugin.js

     
    301301                         */
    302302                        checkbox : function( dialog, elementDefinition, htmlList )
    303303                        {
    304                                 if ( arguments.length < 3)
     304                                if ( arguments.length < 3 )
    305305                                        return;
    306306
    307                                 var _ = initPrivateObject.call( this, elementDefinition, { 'default' : !!elementDefinition.checked } );
     307                                var _ = initPrivateObject.call( this, elementDefinition, { 'default' : !!elementDefinition[ 'default' ] } );
    308308
    309309                                if ( elementDefinition.validate )
    310310                                        this.validate = elementDefinition.validate;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy