Commit ac1ca866 authored by Leigh B Stoller's avatar Leigh B Stoller

Modals for Please Wait and Oops. We should probably do this in

the javascript code, but still playing around.
parent 293f6c93
......@@ -339,6 +339,14 @@ function ConvertManifestToJSON(name, xml)
return json;
}
// Spit out the oops modal.
function SpitOops(id, msg)
{
var modal_text_name = "#" + id + "_text";
$(modal_text_name).html(msg);
ShowModal("#" + id);
}
// Exports from this module for use elsewhere
return {
ShowModal: ShowModal,
......@@ -346,5 +354,6 @@ return {
CallMethod: CallMethod,
ConvertManifestToJSON: ConvertManifestToJSON,
maketopmap: maketopmap,
SpitOops: SpitOops,
};
});
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