Skip to content

Commit 9192d5c

Browse files
authored
Merge pull request #397 from clowder-framework/311-double-click-on-create-dataset-creates-2-datasets
311 double click on create dataset creates 2 datasets
2 parents 5f26ef6 + f34fc64 commit 9192d5c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## Unreleased
9+
10+
## Fixed
11+
- Disabled button while create dataset ajax call is still going on [#311](https://github.com/clowder-framework/clowder/issues/311)
812

913
## 1.21.0 - 2022-08-23
1014

app/views/datasets/create.scala.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ <h1>@Messages("create.header", Messages("dataset.title"))</h1>
194194

195195
$(function () {
196196
$('#createdataset').click(function () {
197+
$('#createdataset').attr("disabled", true);
197198
var name = $('#name');
198199
var desc = $('#description');
199200
var spaceList = [];

0 commit comments

Comments
 (0)