Ticket #5500: 5500.patch

File 5500.patch, 438 bytes (added by Minh Nguyen, 14 years ago)

we had missed return value in case the type of input is 'text'

  • _source/plugins/forms/plugin.js

     
    207207                                        var type = this.getAttribute( 'type' );
    208208                                        if ( type == 'checkbox' || type == 'radio' )
    209209                                                return this.$.value != 'on';
     210                                        return !! this.$.value;
    210211                                        break;
    211212                                default:
    212213                        }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy