Changeset 16012 for extensions/GrumPluginClasses/js/ui.inputText.js
- Timestamp:
- Jun 24, 2012, 9:18:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GrumPluginClasses/js/ui.inputText.js
r15373 r16012 2 2 * ----------------------------------------------------------------------------- 3 3 * file: ui.inputText.js 4 * file version: 1.1. 15 * date: 201 1-01-094 * file version: 1.1.2 5 * date: 2012-06-18 6 6 * 7 7 * A jQuery plugin provided by the piwigo's plugin "GrumPluginClasses" … … 11 11 * email : grum@piwigo.com 12 12 * website : http://photos.grum.fr 13 * PWG user : http://forum.phpwebgallery.net/profile.php?id=370614 13 * 15 14 * << May the Little SpaceFrog be with you ! >> … … 31 30 * | 1.1.1 | 2011/01/31 | * add function ':clear' for 'languagesValues' method 32 31 * | | | 32 * | 1.1.2 | 2012/06/18 | * improve memory managment 33 33 * | | | 34 * | | | 34 * | | | * fix bug on regExp option 35 35 * | | | 36 36 * | | | … … 139 139 $this 140 140 .unbind('.inputText') 141 .removeData() 141 142 .css( 142 143 { … … 145 146 } 146 147 ); 148 delete $this; 147 149 } 148 150 ); … … 539 541 var properties=object.data('properties'); 540 542 541 return(properties.re. exec(value))543 return(properties.re.test(value)); 542 544 }, 543 545 … … 570 572 privateMethods.setTextAlign(object, (value.textAlign!=null)?value.textAlign:options.textAlign); 571 573 574 privateMethods.setDisabled(object, (value.disabled!=null)?value.disabled:options.disabled); 575 572 576 privateMethods.setEventChange(object, (value.change!=null)?value.change:options.change); 573 577 … … 598 602 var objects=object.data('objects'), 599 603 properties=object.data('properties'); 604 605 if(value=='check') 606 value=privateMethods.isValid(object, properties.value); 600 607 601 608 if(properties.isValid!=value && properties.initialized) … … 892 899 } 893 900 894 privateMethods.setIsValid(object, true);901 privateMethods.setIsValid(object, privateMethods.isValid(object, value)); 895 902 896 903 properties.value=value;
Note: See TracChangeset
for help on using the changeset viewer.