updated core to 8.6.1 via composer

This commit is contained in:
2018-09-12 13:58:26 +02:00
parent a9a219f2ed
commit ea56b9fba3
4443 changed files with 112098 additions and 40708 deletions
+8 -3
View File
@@ -3,7 +3,7 @@
* Drupal's batch API.
*/
(function ($, Drupal) {
(function($, Drupal) {
/**
* Attaches the batch behavior to progress bars.
*
@@ -29,7 +29,12 @@
}
if ($progress.length) {
progressBar = new Drupal.ProgressBar('updateprogress', updateCallback, 'POST', errorCallback);
progressBar = new Drupal.ProgressBar(
'updateprogress',
updateCallback,
'POST',
errorCallback,
);
progressBar.setProgress(-1, batch.initMessage);
progressBar.startMonitoring(`${batch.uri}&op=do`, 10);
// Remove HTML from no-js progress bar.
@@ -39,4 +44,4 @@
}
},
};
}(jQuery, Drupal));
})(jQuery, Drupal);