MAINT-6974 FIXED '[ERROR_MESSAGE]' dialog is shown if try to bulk apload any .txt file
parent
95826232bc
commit
4daba484b0
|
|
@ -824,8 +824,15 @@ void LLViewerAssetUpload::HandleUploadError(LLCore::HttpStatus status, LLSD &res
|
|||
}
|
||||
|
||||
LLSD args;
|
||||
args["FILE"] = uploadInfo->getDisplayName();
|
||||
args["REASON"] = reason;
|
||||
if(label == "ErrorMessage")
|
||||
{
|
||||
args["ERROR_MESSAGE"] = reason;
|
||||
}
|
||||
else
|
||||
{
|
||||
args["FILE"] = uploadInfo->getDisplayName();
|
||||
args["REASON"] = reason;
|
||||
}
|
||||
|
||||
LLNotificationsUtil::add(label, args);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue