[Sitools2-developers] A possible implementation of 'Reset Form' button for Sitools2
Brought to you by:
jcmalapert,
sitools2
From: alessandro <ale...@ia...> - 2014-12-10 15:50:44
|
Bonjour à tous, with this mail I would like to circulate a possible implementation for a 'Reset Form' button, we developed here at IDOC, you may find useful to incorporate into your current (or future?) version of Sitools2. Basically, the 'Reset Form' button is created beside the 'Search' one, and it invokes a generic resetToDefault() function for all the components of the form. The declaration of this function is actually /specific /for each component and added at the end of their JavaScript files. In the attached archive please find all the changed js and css files necessary to enable the button. Cordialement, Alessandro, Shuo and Marc -- Alessandro Nastasi Integrated Data and Operation Center (IDOC) Institut d'Astrophysique Spatiale Bâtiment 121 - Université Paris-Sud 91405 Orsay Cedex Tél : 01 69 85 87 67 |