Commit c2a6419e authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fixes.

parent 6242de62
......@@ -96,7 +96,7 @@ function (_, sup, moment, mainString, helpString)
}
}
if (!editing) {
$('#create_dataset_form input[type=radio]').change(function() {
$('#create_dataset_form [name=dataset_type]').change(function() {
var val = $(this).val();
if (val == "stdataset") {
$('#dataset_expires_div').removeClass("hidden");
......
......@@ -102,7 +102,8 @@ function (_, sup, moment, mainString, snapshotString, ShowImagingModal)
* If the state is busy, then lets poll watching for it to
* go valid.
*/
if (fields.dataset_state == "busy" ||
if (cansnapshot &&
fields.dataset_state == "busy" ||
fields.dataset_state == "allocating") {
ShowProgressModal();
}
......
Supports Markdown
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