yodeski / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

MiniProfiler cannot be viewed without explicitly adding jQuery reference. #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install MiniProfiler 1.8 from NuGet repository.
Snippet:
install-package miniprofiler.mvc3

2. Create Test action handler @HomeController.
Snippet:
public ActionResult Test() {
 return PartialView("_Test");
}

3. Create _Test partial view.
Snippet:
@MvcMiniProfiler.MiniProfiler.RenderIncludes(showTrivial: true, 
showTimeWithChildren: true)

What is the expected output? 
The profiler should appear.

What do you see instead?
Blank page.

What version of the product are you using?
1.8.

On what operating system?
Windows 7.

Please provide any additional information below.
If I change the content of _Test partial view, into:

<script src="/Scripts/jquery-1.6.2.min.js" type="text/javascript"></script>
@MvcMiniProfiler.MiniProfiler.RenderIncludes(showTrivial: true, 
showTimeWithChildren: true)

I can now see the profiler.

Original issue reported on code.google.com by dvs...@gmail.com on 26 Aug 2011 at 9:19

GoogleCodeExporter commented 9 years ago
fixed in 1.9

Original comment by sam.saff...@gmail.com on 1 Sep 2011 at 9:50