Empty the menu before showing the download message.

This commit is contained in:
kovacsv 2017-01-14 10:21:14 +01:00
parent cdd263cde5
commit 3ced488146

View File

@ -421,7 +421,11 @@ ImporterApp.prototype.ProcessFiles = function (fileList, isUrl)
}
var menu = document.getElementById ('menu');
while (menu.lastChild) {
menu.removeChild (menu.lastChild);
}
menu.innerHTML = 'Downloading files...';
processorFunc (userFiles, {
onError : function () {
myThis.GenerateError ('No readable file found. You can open 3ds, obj and stl files.');