Empty the menu before showing the download message.
This commit is contained in:
parent
cdd263cde5
commit
3ced488146
@ -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.');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user