From 67c2bb1d28fd2c486fb8c55bf188062399f47674 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 21 Jul 2016 14:50:37 +0200 Subject: [PATCH] Minor improvements --- wcfsetup/install/files/acp/js/WCF.ACP.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index 0626150d1e..75d4d492dd 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -1790,6 +1790,8 @@ WCF.ACP.Worker = Class.extend({ this._callback(this, data); } else { + this._dialog.find('.fa-spinner').removeClass('fa-spinner').addClass('fa-check'); + // display continue button var $formSubmit = $('
').appendTo(this._dialog); $('').appendTo($formSubmit).focus().click(function() { window.location = data.proceedURL; }); @@ -2396,15 +2398,15 @@ WCF.ACP.Import.Manager = Class.extend({ /** * current object type index - * @var integer + * @var int */ _index: -1, /** * list of object types - * @var array + * @var string[] */ - _objectTypes: [ ], + _objectTypes: [], /** * action proxy @@ -2421,8 +2423,8 @@ WCF.ACP.Import.Manager = Class.extend({ /** * Initializes the WCF.ACP.Importer object. * - * @param array objectTypes - * @param string redirectURL + * @param {string[]} objectTypes + * @param {string} redirectURL */ init: function(objectTypes, redirectURL) { this._currentAction = ''; -- 2.20.1