From 7074414e34d0c2ea11990e9c80b6c522ab10e061 Mon Sep 17 00:00:00 2001 From: Trevor Bekolay Date: Thu, 14 Jul 2016 08:48:32 -0400 Subject: [PATCH 001/131] Use CSS instead of for built-in examples Using the tag caused an issue with newer versions of jqueryfiletree because they look at the direct parent of the element that got a click event; since that element was the tag, the parent was , but jqueryfiletree expected that to be the
  • element, and therefore could not determine if the
  • corresponded to a file or directory. Fixed this by removing the tag from the built-in examples directory entry in the file tree, and instead use a CSS rule to make that link italicized (but not any descendants). --- nengo_gui/guibackend.py | 2 +- nengo_gui/static/side_menu.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nengo_gui/guibackend.py b/nengo_gui/guibackend.py index 707afb71..4296de7b 100644 --- a/nengo_gui/guibackend.py +++ b/nengo_gui/guibackend.py @@ -152,7 +152,7 @@ def browse(self): r = [b'