summaryrefslogtreecommitdiff
path: root/www/jsScuttle.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/jsScuttle.php')
-rw-r--r--www/jsScuttle.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/jsScuttle.php b/www/jsScuttle.php
index 76b49dc..3ca41ec 100644
--- a/www/jsScuttle.php
+++ b/www/jsScuttle.php
@@ -89,6 +89,14 @@ function useAddress(ele) {
}
}
+/**
+ * Makes an ajax call to PHP script to generate an new Private Key
+ *
+ * @param input Calling object
+ * @param response Response object that returned value is placed
+ *
+ * @return boolean Returns false to halt execution after call
+ */
function getNewPrivateKey(input, response){
var pk = document.getElementById('pPrivateKey');
if (response != null) {