mishrsud / mvc-mini-profiler

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

Function 'toggleHidden' is firing click events on DOM #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start and Finish any profiler action that successfully calls "fetchResults"

What version of the product are you using? On what operating system?
Version 1.9 installed from Nuget

Please provide any additional information below.
A website I am working on uses a fly out dialog plugin that hooks into any 
click on the entire document to determine if it should show or hide the dialog. 
 If the click happened inside of the dialog, it stays open, if the click 
happens outside of the dialog, it will close.

Controller actions are being called from within this dialog, which is profiling 
sql calls.  Upon the success of the profile, mini profiler eventually goes into 
a function called "toggleHidden", in which it is clicking on any element with 
the class '.toggle-trivial' in order to show the elements (Line 122 in the 
mini-profiler-includes.js file).  Since this click is fired, the other plugin 
catches this click on the document, and thus closes my dialog unexpectedly.

Is there anyway these trivial elements can be shown via a .show() jquery call 
instead of firing the click event?

Original issue reported on code.google.com by DjBadkn...@gmail.com on 13 Sep 2011 at 1:27

GoogleCodeExporter commented 8 years ago
fixed

Original comment by sam.saff...@gmail.com on 25 Oct 2011 at 10:54