Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display all details all the time #8

Open
tchich opened this issue Oct 4, 2011 · 3 comments
Open

Display all details all the time #8

tchich opened this issue Oct 4, 2011 · 3 comments

Comments

@tchich
Copy link

tchich commented Oct 4, 2011

I don't like the default view. I prefer the view obtained when I click on "display all details". Is it possible to change the default ?

@vincentbernat
Copy link
Owner

I don't like the default view. I prefer the view obtained when I click
on "display all details". Is it possible to change the default ?

Displaying all details generate a lot of SQL requests. You can apply
this patch to get all details by default :

@vincentbernat
Copy link
Owner


diff --git a/wiremaps/web/static/wiremaps.js b/wiremaps/web/static/wiremaps.js
index 06a7c66..c395f0b 100644
--- a/wiremaps/web/static/wiremaps.js
+++ b/wiremaps/web/static/wiremaps.js
@@ -192,6 +192,7 @@ function loadEquipment(ip)
          $("div#actions #refresh").show();
        hideMessage();
            $(document).scrollTop($("div#application").offset().top);
+       $("div#actions #details a").click();
        }});
 }

@tchich
Copy link
Author

tchich commented Oct 11, 2011

Thanks. But it doesn't seem to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants