From 5f848c825e5d78e050c9d1a7c14ea4146adf88f1 Mon Sep 17 00:00:00 2001 From: tworrall Date: Mon, 25 Nov 2013 10:46:30 -0500 Subject: [PATCH] VIVO-573 --- .../freemarker/edit/forms/js/newIndividualFormUtils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/productMods/templates/freemarker/edit/forms/js/newIndividualFormUtils.js b/productMods/templates/freemarker/edit/forms/js/newIndividualFormUtils.js index 2319a8a5..0f404f85 100644 --- a/productMods/templates/freemarker/edit/forms/js/newIndividualFormUtils.js +++ b/productMods/templates/freemarker/edit/forms/js/newIndividualFormUtils.js @@ -15,6 +15,7 @@ var newIndividualFormUtils = { this.lName = $('#lastName'); this.mName = $('#middleName'); this.rdfsLabel = $('#label'); + this.submitButton = $('#submit'); }, bindEventListeners: function() { @@ -22,6 +23,7 @@ var newIndividualFormUtils = { this.form.submit(function() { newIndividualFormUtils.buildRDFSLabel(); + newIndividualFormUtils.submitButton.attr("disabled",true); }); },