tsplit filler into two - 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 fabf9b2be0637325cf10447328e98689bf57343c
(DIR) parent 63c4c1f78689ee65d1e5d3c499ebd98d695bbefe
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 20 Nov 2015 11:29:13 +0100
split filler into two
Diffstat:
M js/history-form-prefiller.js | 5 ++++-
M pages/history.html | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/js/history-form-prefiller.js b/js/history-form-prefiller.js
t@@ -38,8 +38,10 @@ var PrefillMachine = {
$("#record_threshold_max").val("4.3");
}
+}
- prefill4isotopes: function() {
+var PrefillMachine2 = {
+ prefillCorrectly2: function() {
$("#sample_id").val("sample01");
$("#name").val("John Doe");
$("#email").val("john@doe.com");
t@@ -89,3 +91,4 @@ var PrefillMachine = {
// run the prefiller
PrefillMachine.prefillCorrectly();
+PrefillMachine2.prefillCorrectly2();
(DIR) diff --git a/pages/history.html b/pages/history.html
t@@ -26,7 +26,7 @@
<input class="waves-effect waves-light btn"
id="prefill" type="button" value="Load 4 isotope example"
- onclick="PrefillMachine.prefill4isotopes();">
+ onclick="PrefillMachine2.prefillCorrectly2();">
</div>
</div>
<br>