Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
librenet.gr
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
LibreOps
librenet.gr
Commits
4ae032e6
Commit
4ae032e6
authored
Jun 07, 2015
by
Jonne Haß
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6071 from svbergerem/upload-images-style
Fix progress bar in publisher when uploading images
parents
dbd8a91d
a7446dd5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
app/assets/javascripts/app/views/publisher/uploader_view.js
app/assets/javascripts/app/views/publisher/uploader_view.js
+4
-2
No files found.
app/assets/javascripts/app/views/publisher/uploader_view.js
View file @
4ae032e6
...
...
@@ -43,7 +43,7 @@ app.views.PublisherUploader = Backbone.View.extend({
var
progress
=
Math
.
round
(
loaded
/
total
*
100
);
this
.
info
.
text
(
fileName
+
"
"
+
progress
+
"
%
"
).
fadeTo
(
200
,
1
);
this
.
publisher
.
photozoneEl
.
find
(
"
li.loading
"
).
first
().
find
(
"
.bar
"
)
.
find
(
"
li.loading
"
).
first
().
find
(
"
.
progress-
bar
"
)
.
width
(
progress
+
"
%
"
);
},
...
...
@@ -60,7 +60,9 @@ app.views.PublisherUploader = Backbone.View.extend({
publisher
.
wrapperEl
.
addClass
(
"
with_attachments
"
);
publisher
.
photozoneEl
.
append
(
"
<li class=
\"
publisher_photo loading
\"
style=
\"
position:relative;
\"
>
"
+
"
<div class=
\"
progress progress-striped active
\"
><div class=
\"
bar
\"
></div></div>
"
+
"
<div class=
\"
progress
\"
>
"
+
"
<div class=
\"
progress-bar progress-bar-striped active
\"
role=
\"
progressbar
\"
></div>
"
+
"
</div>
"
+
"
<img src=
\"\"
+Handlebars.helpers.imageUrl(
\"
ajax-loader2.gif
\"
)+
\"\"
class=
\"
ajax-loader
\"
alt=
\"\"
/>
"
+
"
</li>
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment