comparison ape.js @ 760:946f8b4762ad

APE: Ape sliders show loading percentage on first axis
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Thu, 17 Dec 2015 16:38:52 +0000
parents c73996a0fb21
children 01c026742e1e
comparison
equal deleted inserted replaced
759:801e1977ab55 760:946f8b4762ad
585 $(this.trackSliderObjects).each(function(i,trackObj){ 585 $(this.trackSliderObjects).each(function(i,trackObj){
586 $(trackObj).removeClass('track-slider-disabled'); 586 $(trackObj).removeClass('track-slider-disabled');
587 }); 587 });
588 } 588 }
589 }; 589 };
590 590 this.updateLoading = function(progress)
591 {
592 if (progress != 100)
593 {
594 progress = String(progress);
595 progress = progress.split('.')[0];
596 this.trackSliderObjects[0].children[0].textContent = progress+'%';
597 } else {
598 this.trackSliderObjects[0].children[0].textContent = this.parent.id;
599 }
600 };
591 this.exportXMLDOM = function(audioObject) { 601 this.exportXMLDOM = function(audioObject) {
592 // Called by the audioObject holding this element. Must be present 602 // Called by the audioObject holding this element. Must be present
593 var obj = []; 603 var obj = [];
594 $(this.trackSliderObjects).each(function(i,trackObj){ 604 $(this.trackSliderObjects).each(function(i,trackObj){
595 var node = document.createElement('value'); 605 var node = document.createElement('value');