trename js function - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
(HTM) git clone git://src.adamsgaard.dk/cosmo
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 8956fdc999975f283ec8666e576e0d11544c6365
(DIR) parent 115dfcefad8f7ae66f1ac3e3c797816e98e4cdf9
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 20 Nov 2015 11:26:11 +0100
rename js function
Diffstat:
M js/history-form-prefiller.js | 2 +-
M pages/history.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/js/history-form-prefiller.js b/js/history-form-prefiller.js
t@@ -1,6 +1,6 @@
var PrefillMachine = {
- prefill2isotopes: function() {
+ prefillCorrectly: function() {
$("#sample_id").val("sample00");
$("#name").val("John Doe");
$("#email").val("john@doe.com");
(DIR) diff --git a/pages/history.html b/pages/history.html
t@@ -22,7 +22,7 @@
<div class="col s12 m12">
<input class="waves-effect waves-light btn"
id="prefill" type="button" value="Load 2 isotope example"
- onclick="PrefillMachine.prefill2isotopes();">
+ onclick="PrefillMachine.prefillCorrectly();">
<input class="waves-effect waves-light btn"
id="prefill" type="button" value="Load 4 isotope example"