summaryrefslogtreecommitdiffstats
path: root/core/js/setup.js
diff options
context:
space:
mode:
authorSebastian Bolt <sebastian.bolt@gmx.de>2014-12-19 06:06:27 +0100
committerSebastian Bolt <sebastian.bolt@gmx.de>2015-02-04 22:27:38 +0100
commit7ffd2557fff720a5fe5c2a80393f51c60290e8c2 (patch)
tree2a55297b2538b7d7b9e94aae865e040753eae710 /core/js/setup.js
parentda14a605d5a02d68af44e0153b084d94b676bbff (diff)
downloadnextcloud-server-7ffd2557fff720a5fe5c2a80393f51c60290e8c2.tar.gz
nextcloud-server-7ffd2557fff720a5fe5c2a80393f51c60290e8c2.zip
changed image to classed div for spinner animation
Diffstat (limited to 'core/js/setup.js')
-rw-r--r--core/js/setup.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/setup.js b/core/js/setup.js
index 1eceb8ced70..9729e3862ac 100644
--- a/core/js/setup.js
+++ b/core/js/setup.js
@@ -51,6 +51,9 @@ $(document).ready(function() {
// Save form parameters
var post = $(this).serializeArray();
+ // Show spinner while finishing setup
+ $('.float-spinner').show(250);
+
// Disable inputs
$(':submit', this).attr('disabled','disabled').val($(':submit', this).data('finishing'));
$('input', this).addClass('ui-state-disabled').attr('disabled','disabled');
@@ -91,6 +94,7 @@ $(document).ready(function() {
$('#datadirContent').hide(250);
$('#databaseBackend').hide(250);
$('#databaseField').hide(250);
+ $('.float-spinner').hide(250);
}
$('#adminpass').strengthify({