{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"%90ea1ec82e279cc334aa3f884cd1363e;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"%4208135cad82c5787840e67fca667907;FI"required_paths;T[ I"_/home/jcl/.rvm/gems/ruby-2.2.1/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js;FI"c/home/jcl/.rvm/gems/ruby-2.2.1/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery_ujs.js;FI"g/home/jcl/.rvm/gems/ruby-2.2.1/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/core.js;FI"m/home/jcl/.rvm/gems/ruby-2.2.1/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;F@I"2015-03-21T11:36:28+01:00;T@I"%d5d33e2f9ba68070675f4ea20b61bbe3;F{@7I"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/application.js;F@I"2015-02-22T17:07:39+01:00;T@I"%01042afa4e153a388949b82a7dda7ecd;F{@7I"_/home/jcl/.rvm/gems/ruby-2.2.1/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js;F@I"2015-04-10T07:54:27+02:00;T@I"%458ef72a51720360c37a26e7269333fb;F{@7I"c/home/jcl/.rvm/gems/ruby-2.2.1/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery_ujs.js;F@I"2015-04-10T07:54:27+02:00;T@I"%8163409ac89d9587bb33a62f6f74d283;F{@7I"m/home/jcl/.rvm/gems/ruby-2.2.1/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/datepicker.js;F@I"2015-04-13T07:44:00+02:00;T@I"%1fbdc011847464639a7a60498a9771ae;F{@7I"g/home/jcl/.rvm/gems/ruby-2.2.1/gems/jquery-ui-rails-5.0.3/app/assets/javascripts/jquery-ui/core.js;F@I"2015-04-13T07:44:00+02:00;T@I"%c17d793c34359326fe28ecdf37157d68;F{@7I"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap-sprockets.js;F@I"2014-12-27T08:50:34+01:00;T@I"%5e70b06cbcc3c37044179c3e036c5997;F{@7I"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/affix.js;F@I"2014-12-27T08:50:34+01:00;T@I"%b621ca5aa4f215f8d230a148604ce887;F{@7I"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/alert.js;F@I"2014-12-27T08:50:34+01:00;T@I"%ad59e219bfe4522a7da1b4e9711dd1ff;F{@7I"P/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/button.js;F@I"2014-12-27T08:50:34+01:00;T@I"%98221802dd741ae8d367fb93c7ecc2cd;F{@7I"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/carousel.js;F@I"2014-12-27T08:50:34+01:00;T@I"%0ded8d32b735234ea9f7db94d69ab42b;F{@7I"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/collapse.js;F@I"2014-12-27T08:50:34+01:00;T@I"%6238aa686d48ac48695cf064f461e421;F{@7I"R/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/dropdown.js;F@I"2014-12-27T08:50:34+01:00;T@I"%a9c5ddc5b06ef95a58ff287b0a8a2283;F{@7I"M/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tab.js;F@I"2014-12-27T08:50:34+01:00;T@I"%62cc22e2caefe089c571e3ec3dd89523;F{@7I"T/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/transition.js;F@I"2014-12-27T08:50:34+01:00;T@I"%378bf9aea830e8f450c8d2237f9eded8;F{@7I"S/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/scrollspy.js;F@I"2014-12-27T08:50:34+01:00;T@I"%b002a3238388bf62b3a2bd32ae264cb6;F{@7I"O/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/modal.js;F@I"2014-12-27T08:50:34+01:00;T@I"%894cf748c383cc57d6f2c5d7eb05687e;F{@7I"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/tooltip.js;F@I"2014-12-27T08:50:34+01:00;T@I"%3edea1d283d02e36795f29cc90d8654d;F{@7I"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/bootstrap/popover.js;F@I"2014-12-27T08:50:34+01:00;T@I"%75500402f85388fdd1a0e860e211ef9a;F{@7I"Q/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/adhesion.js;F@I"2013-08-19T18:22:20+02:00;T@I"%a8e4924c90abbb588ecbcbaccaea1b27;F{@7I"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/allpayments.js;F@I"2013-08-30T12:59:02+02:00;T@I"%6af34f6402019a318ea85bf31f3538df;F{@7I"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/common.js;F@I"2015-02-22T18:19:02+01:00;T@I"%e79bb6e0f660b904ef24f34b0259ec6e;F{@7I"O/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/coords.js;F@I"2013-08-19T18:22:20+02:00;T@I"%a8e4924c90abbb588ecbcbaccaea1b27;F{@7I"T/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/date_picker.js;F@I"2013-08-19T18:22:20+02:00;T@I"%e495bd1c7b76dfcb9b331a4ed82eef7a;F{@7I"^/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/jquery.dataTables.min.js;F@I"2013-08-30T11:28:14+02:00;T@I"%a88bf3f08f11051f3e60ac0e317abc53;F{@7I"P/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/members.js;F@I"2015-02-22T18:17:17+01:00;T@I"%85769d1c324bce074ac7be5961c956b8;F{@7I"X/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/payments.js.coffee;F@I"2015-03-21T11:39:25+01:00;T@I"%5fd91b0bee67ec91e199c845625c550c;F{@7I"S/home/jcl/rails_project/Adherent/app/assets/javascripts/adherent/reglements.js;F@I"2013-08-19T18:22:20+02:00;T@I"%a8e4924c90abbb588ecbcbaccaea1b27;FI" _version;TI"%64e62ddc273c2f5847f30d698ca14b67;F