[BUGFIX] Set missing `data-title` attribute for upgrade wizard 42/58442/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 28 Sep 2018 19:38:10 +0000 (21:38 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Fri, 28 Sep 2018 20:24:01 +0000 (22:24 +0200)
To render the „Executing foo“ text in the progress bar when a upgrade
wizard is executed correctly, a missing `data-title` attribute is added.

Resolves: #86430
Releases: master
Change-Id: I53f6f1a551de132452695a400561e46e9c1e4fb4
Reviewed-on: https://review.typo3.org/58442
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/install/Resources/Public/JavaScript/Modules/UpgradeWizards.js

index 100c930..6b82d36 100644 (file)
@@ -328,7 +328,7 @@ define([
                 input.find(self.selectorWizardsInputHtml).html(data.userInput.wizardHtml);
               }
               input.find(self.selectorWizardsInputTitle).text(data.userInput.title);
-              input.find(self.selectorWizardsInputPerform).attr('data-identifier', data.userInput.identifier);
+              input.find(self.selectorWizardsInputPerform).attr('data-identifier', data.userInput.identifier).attr('data-title', data.userInput.title);
             }
             modalContent.find(self.selectorOutputWizardsContainer).append(input);
           },