{I" class:ETI"ProcessedAsset;FI"logical_path;TI"adherent/application.js;FI" pathname;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/application.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+ËþéTI" length;TiuI" digest;TI"%b67c10ce235ce25ccf4c54b4ecfd5e5d;FI" source;TI"u// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. // // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // the compiled file. // // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD // GO AFTER THE REQUIRES BELOW. // // // // fonction pour transformer une chaine avec virgule en float // la fonction retire les espaces et remplace la virgule par le point décimal // avant d'appeler Number, la fonction native de js. function stringToFloat(jcdata) { if (jcdata === undefined) { return 0.0; } var d = String(jcdata).replace(/,/, '.'); d = d.replace(/\s/g, ''); if (isNaN(d)) { return 0.0; } else { return Number(d); } } // fonction permettant de mettre deux décimales à un nombre // appelé lorsque l'utilisateur sort d'un champ pour remettre en forme sa saisir // Par exemple 32 devient 32.00 ou 32.5 devient 32.50 function $f_two_decimals() { var number = stringToFloat(this.value); if (isNaN(number)) { this.value = '0.00'; } else { this.value = number.toFixed(2); } } // série de fonction qui prépare les champs débit et crédit pour la saisie // quand on entre dans un champ qui est à 0, on le vide function $f_empty() { if (this.value === '0.00') { this.value = ''; } } jQuery(function () { console.log('dans application js de Adherent'); $('#main-zone').on('focus', '.decimal', $f_empty); //vide le champ s'il est à zero (pour faciliter la saisie) $('#main-zone').on('blur', '.decimal', $f_two_decimals); }); ;TI"dependency_digest;TI"%e3a3aec1546fc7eeb47d03a6fb9fe553;FI"required_paths;T[ I"b/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js;FI"f/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery_ujs.js;FI"j/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/core.js;FI"p/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/datepicker.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/affix.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/alert.js;FI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/button.js;FI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/carousel.js;FI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/collapse.js;FI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/dropdown.js;FI"M/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tab.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/transition.js;FI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/scrollspy.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/modal.js;FI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tooltip.js;FI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/popover.js;FI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap-sprockets.js;FI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/adhesion.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/allpayments.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/common.js;FI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/coords.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/date_picker.js;FI"^/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/jquery.dataTables.min.js;FI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/members.js;FI"X/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/payments.js.coffee;FI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/reglements.js;FI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/application.js;FI"dependency_paths;T[!{I" path;TI"E/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent;FI" mtime;TI"2015-03-21T11:36:28+01:00;TI" digest;TI"%8a3ec6984604bef17107b1f0bec25a85;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/application.js;FI" mtime;TI"2015-02-22T17:07:39+01:00;TI" digest;TI"%d26561ebcac3cf8218b8a320d692f921;F{I" path;TI"b/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js;FI" mtime;TI"2014-09-27T09:32:07+02:00;TI" digest;TI"%42d7228ca36fa7594740ab6f0194ebb9;F{I" path;TI"f/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery_ujs.js;FI" mtime;TI"2014-09-27T09:32:07+02:00;TI" digest;TI"%990090dbba562657159b0229c61c99d7;F{I" path;TI"p/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/datepicker.js;FI" mtime;TI"2014-12-25T15:51:52+01:00;TI" digest;TI"%f50e4263721fd9c4dc64306ef2d8a662;F{I" path;TI"j/home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/core.js;FI" mtime;TI"2014-12-25T15:51:52+01:00;TI" digest;TI"%c43d339c3203a0b7e8ba1932eec68728;F{I" path;TI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap-sprockets.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%c2425a616c8459baa7d997e5e91960f8;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/affix.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%ec26c34e50090fc1636b1ba87c16f1e4;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/alert.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%718d0679d9e38729fb4cec5b3d5ab7d8;F{I" path;TI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/button.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%f04c014a572243c283b8a7943a2656cc;F{I" path;TI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/carousel.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%5ca860ebd23ffdeabdaae4af3759d6f2;F{I" path;TI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/collapse.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%7bcf16033c059fbb3fe223eafedb66ab;F{I" path;TI"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/dropdown.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%bcd81bb4c5754ad25c7c9c24e3f3ca65;F{I" path;TI"M/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tab.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%af4fde1618c0a0b50bb5ccfce76e0aee;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/transition.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%99e6d8d37f0b59e23c285a5502c3726c;F{I" path;TI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/scrollspy.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%30abc99e1185affdea6570cb2012503c;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/modal.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%21444b77120942276436af92006f650c;F{I" path;TI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tooltip.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%a156940d1719b299fcab5ab7370386c4;F{I" path;TI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/popover.js;FI" mtime;TI"2014-12-27T08:50:34+01:00;TI" digest;TI"%1561b0fb8e4b38753d427175c42563d3;F{I" path;TI"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/adhesion.js;FI" mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%1d54d48dcb36a55547ce11fd048d937c;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/allpayments.js;FI" mtime;TI"2013-08-30T12:59:02+02:00;TI" digest;TI"%46a4a50b527395615882e23dc296f190;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/common.js;FI" mtime;TI"2015-02-22T18:19:02+01:00;TI" digest;TI"%d4d87f12b799fb7b58365838eee44fef;F{I" path;TI"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/coords.js;FI" mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%1d54d48dcb36a55547ce11fd048d937c;F{I" path;TI"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/date_picker.js;FI" mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%65c332bb19f46451f3f6966b0fc2e6d0;F{I" path;TI"^/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/jquery.dataTables.min.js;FI" mtime;TI"2013-08-30T11:28:14+02:00;TI" digest;TI"%4145b0e0ba49899423244985ae9e9aa9;F{I" path;TI"P/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/members.js;FI" mtime;TI"2015-02-22T18:17:17+01:00;TI" digest;TI"%2a4e816d960003bb894bc05c991bef4f;F{I" path;TI"X/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/payments.js.coffee;FI" mtime;TI"2015-03-21T11:39:25+01:00;TI" digest;TI"%a934229c1edf0a22fdda284c63537a82;F{I" path;TI"S/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/reglements.js;FI" mtime;TI"2013-08-19T18:22:20+02:00;TI" digest;TI"%1d54d48dcb36a55547ce11fd048d937c;FI" _version;TI"%d1429a9b81250b1cab2fc8a649c44d46;F