tsplit filler into two - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
git clone git://src.adamsgaard.dk/cosmo
Log
Files
Refs
README
LICENSE
---
commit fabf9b2be0637325cf10447328e98689bf57343c
parent 63c4c1f78689ee65d1e5d3c499ebd98d695bbefe
Author: Anders Damsgaard 
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(-)
---
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();
diff --git a/pages/history.html b/pages/history.html
t@@ -26,7 +26,7 @@
                  
                 
+                                onclick="PrefillMachine2.prefillCorrectly2();">