Commit b864f9b1 authored by Leigh Stoller's avatar Leigh Stoller

Fix problem described in issue #457, this closes issue #457

parent 0ba81dc5
...@@ -714,12 +714,11 @@ $(function () { ...@@ -714,12 +714,11 @@ $(function () {
} }
function StartPP(args) { function StartPP(args) {
uuid = args.uuid;
registered = args.registered; registered = args.registered;
multisite = args.multisite; multisite = args.multisite;
ppdivname = args.ppdivname; ppdivname = args.ppdivname;
if (bodyTemplate) { if (bodyTemplate && uuid == args.uuid) {
GenerateModalBody(defaults, null); GenerateModalBody(defaults, null);
//sup.ShowModal('#ppmodal'); //sup.ShowModal('#ppmodal');
return; return;
...@@ -753,13 +752,14 @@ $(function () { ...@@ -753,13 +752,14 @@ $(function () {
}); });
bodyTemplate = _.template(html); bodyTemplate = _.template(html);
GenerateModalBody(defaults, null); GenerateModalBody(defaults, null);
uuid = args.uuid;
if (args.rspec) { if (args.rspec) {
RSPEC = args.rspec; RSPEC = args.rspec;
ConfigureDone(); ConfigureDone();
ShowEditor(); ShowEditor();
} }
} }
var blob = {"uuid" : uuid}; var blob = {"uuid" : args.uuid};
// //
// XXX: Look for paramdefs/script in the form and pass that along. // XXX: Look for paramdefs/script in the form and pass that along.
// This is for repo-based profiles. // This is for repo-based profiles.
......
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