The below issue is observed in Chrome browser, but is absolutely working fine in Internet Explorer. Need a resolution to fix the issue in Chrome browser as well.
Error:
Html5UploadItem.js:3 Uncaught TypeError: isc.Html5UploadProgressBar.addProperties is not a function
at Html5UploadItem.js:3
Code that is generating above error:
Html5UploadItem.js:
Error:
Html5UploadItem.js:3 Uncaught TypeError: isc.Html5UploadProgressBar.addProperties is not a function
at Html5UploadItem.js:3
Code that is generating above error:
Html5UploadItem.js:
- isc.ClassFactory.defineClass("Html5UploadProgressBar", "HLayout");
- isc.Html5UploadProgressBar.addProperties({
- height: 10
- ,progressBarConstructor: "Progressbar"
- ,progressBarDefaults: {
- breadth: 10
- ,showTitle: true
- }
- ,retryButtonConstructor: ""
- ,retryButtonProperties: {
- }
- ,initialTitle: "Queued"
- ,initWidget: function() {
- this.addAutoChild("progressBar");
- this.progressBar.setTitle(this.initialTitle);
- this.Super("initWidget", arguments);
- }
- ,begin: function() {
- this.progressBar.setTitle("");
- this.progressBar.setPercentDone(0);
- }
- ,complete: function () {
- }
- ,error: function () {
- // TODO
- }
- ,setPercentDone: function(newPercent) {
- this.progressBar.setPercentDone(newPercent);
- }
- });