Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Show label of current step and fix a typo

  • Loading branch information...
commit a8cc3f0b5da0f08378f9c6f13e8707143a4fb205 1 parent 917c310
@williambr williambr authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 gui/freeadmin/static/lib/js/freeadmin/Progress.js
View
4 gui/freeadmin/static/lib/js/freeadmin/Progress.js
@@ -75,6 +75,7 @@ define([
update: function(uuid) {
var me = this;
if(uuid) this.uuid = uuid;
+ this.dapMainLabel.innerHTML = this.steps[this._curStep-1].label;
if(this.fileUpload && this._curStep == 1) {
xhr.get('/progress', {
headers: {"X-Progress-ID": me.uuid}
@@ -82,7 +83,6 @@ define([
var obj = eval(data);
if(obj.state == 'uploading') {
var perc = Math.ceil((obj.received / obj.size)*100);
- console.log(perc);
if(perc == 100) {
me._subProgress.update({'indeterminate': true});
me._masterProgress(perc);
@@ -122,7 +122,7 @@ define([
me._curStep = data.step;
}
if(data.percent == 100) {
- me._subProgressr.update({'indeterminate': true});
+ me._subProgress.update({'indeterminate': true});
me._masterProgress(data.percent);
if(me._curStep == me._numSteps)
return;
Please sign in to comment.
Something went wrong with that request. Please try again.