Ticket #11227: 11227.patch
File 11227.patch, 905 bytes (added by , 11 years ago) |
---|
-
C:/Users/mjohnson/Desktop/plugin.
old new 3016 3016 * combine validate functions together to make more sophisticated 3017 3017 * validators. 3018 3018 */ 3019 var value = this && this.getValue ? this.getValue() : arg s[ 0 ];3019 var value = this && this.getValue ? this.getValue() : arguments[ 0 ]; 3020 3020 3021 3021 var msg = undefined, 3022 3022 relation = CKEDITOR.VALIDATE_AND, … … 3043 3043 for ( i = 0 ; i < functions.length ; i++ ) 3044 3044 { 3045 3045 if ( relation == CKEDITOR.VALIDATE_AND ) 3046 passed = passed && functions[i] (value );3046 passed = passed && functions[i].call( this, value ); 3047 3047 else 3048 passed = passed || functions[i] (value );3048 passed = passed || functions[i].call( this, value ); 3049 3049 } 3050 3050 3051 3051 return !passed ? msg : true;