From a7446dd5cde1c97cc0f39f30ed376087e0ba1a63 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Sun, 7 Jun 2015 03:43:57 +0200 Subject: [PATCH] Fix progress bar in publisher when uploading images --- app/assets/javascripts/app/views/publisher/uploader_view.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/views/publisher/uploader_view.js b/app/assets/javascripts/app/views/publisher/uploader_view.js index 1e99b3177..5f1fedc0c 100644 --- a/app/assets/javascripts/app/views/publisher/uploader_view.js +++ b/app/assets/javascripts/app/views/publisher/uploader_view.js @@ -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( "
  • " + - "
    " + + "
    " + + "
    "+ + "
    " + " \"\""+ "
  • " );