Skip to content

Commit c88d681

Browse files
committed
button disabled while ajax call is going on
1 parent 5f26ef6 commit c88d681

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)