Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function downloadThisFileForDriverDetails(n) {
- var o = [],
- h = "#hdnAddlist-" + n,
- t = $(h).val().split("~"),
- i = {},
- r = {},
- f,
- e,
- u,
- s;
- for (r.DriverId = i.DriverId = t[0], i.FileId = t[1], i.FileSize = t[3], i.IsSecure = t[7] == "True", r.FileLocation = i.FileLocation = t[5], i.FileName = t[8], r.ProductCode = t[9], r.IsRestricted = t[10], r.DownloadOrigin = downloadOrigin.Deatils, f = JSON.parse(t[11]), e = [], u = 0; u < f.length; u++)
- e[u] = f[u].ProductCodes;
- if (r.ProductList = e, AddToDellMetrics(t[0], ""), r.IsRestricted == "True")
- s = "#downloadResult-" + n, downloadForce10Drivers(r, s);
- else {
- if (i.IsSecure && !isServiceTagAuthorized) {
- secureOperation = "DSF";
- $("#modelServiceTag").val("");
- $("#divWarning").hide();
- $("#divWarningDown").hide();
- $("#divSecure").modal("show");
- secureFileId = t[1];
- return
- }
- o.push(i);
- isServiceTagAuthorized = !1;
- downloadFiles(o, "#downloadResult-" + n)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement