[Progress Communities] [Progress OpenEdge ABL] Forum Post: jQuery added twice

  • Thread starter Thread starter svict4
  • Start date Start date
Status
Not open for further replies.
S

svict4

Guest
I've got jQuery being imported twice (same version), and I think this is the reason why I'm getting a few other front-end errors. On any particular page, one scriptresource is being loaded in the and one in the on my default.cshtml file, I've referenced using: @Html.Script(ScriptRef.JQuery, "head") I've noticed that a lot of custom MVC modules are also referencing jQuery using: @Html.Script(ScriptRef.JQuery, "top", true) or @Html.Script(ScriptRef.JQuery, "top", false) Pardon my ignorance, but surely just keeping the reference in the Head in my default.cshtml should be enough? Would commentingout/deleting the top references in all of my widgets be enough? There's no other instances in my entire project to other jQuery references No or code-behind PageManager.ConfigureScriptManager(Page, ScriptRef.JQuery);

Continue reading...
 
Status
Not open for further replies.
Back
Top