Commit 0423abbc authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix to extension modal; was binding the button handlers multiple times.

parent db66304a
...@@ -442,7 +442,7 @@ window.ShowExtendModal = (function() ...@@ -442,7 +442,7 @@ window.ShowExtendModal = (function()
var xmlthing = sup.CallServerMethod(null, "status", var xmlthing = sup.CallServerMethod(null, "status",
"RequestExtension", args); "RequestExtension", args);
xmlthing.done(function(json) { xmlthing.done(function(json) {
console.info(json.value); console.info("RequestExtension:", json);
sup.HideModal("#waitwait-modal", function () { sup.HideModal("#waitwait-modal", function () {
callback(json); callback(json);
}); });
...@@ -507,7 +507,7 @@ window.ShowExtendModal = (function() ...@@ -507,7 +507,7 @@ window.ShowExtendModal = (function()
physnode_count = expinfo.physnode_count; physnode_count = expinfo.physnode_count;
physnode_hours = expinfo.physnode_hours; physnode_hours = expinfo.physnode_hours;
$(divname).append(userExtendString); $(divname).html(userExtendString);
// Fill in the mailto links. // Fill in the mailto links.
var mailto = "mailto:" + window.SUPPORT; var mailto = "mailto:" + window.SUPPORT;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment