Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bootstrap
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
bootstrap
Merge requests
!8
Issue
#3259397
: Progress bar is message and percentage are not updated using D 7.83
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Issue
#3259397
: Progress bar is message and percentage are not updated using D 7.83
issue/bootstrap-3259397:3259397-progress-bar
into
7.x-3.x
Overview
0
Commits
1
Pipelines
0
Changes
2
Open
Issue #3259397: Progress bar is message and percentage are not updated using D 7.83
Mohammed Nassar
requested to merge
issue/bootstrap-3259397:3259397-progress-bar
into
7.x-3.x
Jan 19, 2022
Overview
0
Commits
1
Pipelines
0
Changes
2
0
0
Merge request reports
Compare
7.x-3.x
7.x-3.x (HEAD)
and
latest version
latest version
98b5b07b
1 commit,
Jan 19, 2022
2 files
+
7
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
js/misc/_progress.js
+
4
−
4
View file @ e4dee0b1
Edit in single-file editor
Open in Web IDE
Show full file
@@ -19,12 +19,12 @@ Drupal.progressBar = function (id, updateCallback, method, errorCallback) {
// The WAI-ARIA setting aria-live="polite" will announce changes after users
// have completed their current activity and not interrupt the screen reader.
this
.
element
=
$
(
'
<div
class="progress-wrapper
" aria-live="polite"></div>
'
);
this
.
element
.
html
(
'
<div
id ="
'
+
id
+
'
" class="progress progress-striped active
">
'
+
'
<div class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0">
'
+
this
.
element
=
$
(
'
<div
id ="
'
+
id
+
'
" aria-live="polite"></div>
'
);
this
.
element
.
html
(
'
<div
class="progress
">
'
+
'
<div class="progress-bar
progress-bar-striped active
" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0">
'
+
'
<div class="percentage sr-only"></div>
'
+
'
</div></div>
'
+
'
<
/div><
div class="percentage pull-right"></div>
'
+
'
<div class="percentage pull-right">
0%
</div>
'
+
'
<div class="message"> </div>
'
);
};
Loading