|
55 | 55 | IdeIntegrationSettings ideIntegrationSettings = ViewBagHelper.ValueOrDefault<IdeIntegrationSettings>(ViewBag.IdeIntegrationSettings, null);
|
56 | 56 | List<HtmlDxDataGridColumnDescription> additionalColumns = ViewBagHelper.ValueOrDefault(ViewBag.AdditionalColumns, new List<HtmlDxDataGridColumnDescription>());
|
57 | 57 | string jQueryLocation = ViewBagHelper.ValueOrDefault(ViewBag.JQueryLocation, "https://ajax.aspnetcdn.com/ajax/jquery/").Trim();
|
| 58 | + jQueryLocation = jQueryLocation.WithEnding("/"); |
58 | 59 | string jQueryVersion = ViewBagHelper.ValueOrDefault(ViewBag.JQueryVersion, "3.5.0").Trim();
|
59 | 60 | string jsZipLocation = ViewBagHelper.ValueOrDefault(ViewBag.JsZipLocation, "https://cdnjs.cloudflare.com/ajax/libs/jszip/").Trim();
|
| 61 | + jsZipLocation = jsZipLocation.WithEnding("/"); |
60 | 62 | string jsZipVersion = ViewBagHelper.ValueOrDefault(ViewBag.JsZipVersion, "3.2.2").Trim();
|
61 | 63 | string devExtremeLocation = ViewBagHelper.ValueOrDefault(ViewBag.DevExtremeLocation, "https://cdn3.devexpress.com/jslib/").Trim();
|
| 64 | + devExtremeLocation = devExtremeLocation.WithEnding("/"); |
62 | 65 | string devExtremeVersion = ViewBagHelper.ValueOrDefault(ViewBag.DevExtremeVersion, "20.1.6").Trim();
|
63 | 66 | }
|
64 | 67 |
|
|
86 | 89 | addRuleUrl: ruleVisible || ruleUrlVisible,
|
87 | 90 | addMessageHtml: messageVisible,
|
88 | 91 | additionalValues: additionalColumns.ToDictionary(x => x.Id, x => x.ValueRetriever));
|
89 |
| - |
90 |
| - if (!jQueryLocation.EndsWith("/")) |
91 |
| - { |
92 |
| - jQueryLocation += "/"; |
93 |
| - } |
94 |
| - |
95 |
| - if (!jsZipLocation.EndsWith("/")) |
96 |
| - { |
97 |
| - jsZipLocation += "/"; |
98 |
| - } |
99 |
| - |
100 |
| - if (!devExtremeLocation.EndsWith("/")) |
101 |
| - { |
102 |
| - devExtremeLocation += "/"; |
103 |
| - } |
104 | 92 | }
|
105 | 93 |
|
106 | 94 | <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
0 commit comments