+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
$(document).on('click', '.selectable', function() {
var any;
var $this = $(this);
message = "Request failed.";
}
this.modal.find('.modal-error').
- html('<div class="alert alert-danger">' + message + '</div>').
- show();
+ html('<div class="alert alert-danger"></div>').
+ show().
+ children().text(message);
}).
done(function(data, status, jqxhr) {
var event_name = this.action_data.success;
'project_uuid': project_uuid
};
}
+ $(".modal-dialog-preview-pane").html("");
// Use current selection as dropdown button label
$(this).
closest('.dropdown-menu').