Feature: Always show directory if entering e.g. I2_Formatter_ in Quickbox
authorKristian Kræmmer Nielsen <jkkn@jkkn.dk>
Fri, 8 Aug 2008 14:50:20 +0000 (16:50 +0200)
committerKristian Kræmmer Nielsen <jkkn@jkkn.dk>
Fri, 8 Aug 2008 14:50:20 +0000 (16:50 +0200)
content/quickbox.js
version

index 518eedad9990ddff9e3bfb0fbb9e2683aba959c1..6582d9dbb215039365f0eca51ef629e8a2ad5b82 100644 (file)
@@ -361,7 +361,8 @@ var TV2DeveloperQuickBox = {
                     }
                     clsname = clsname.replace(/_/g,'/');
                     // add php if not entered path ends on a slash:
-                    if (clsname.substr(-1) != '/') clsname += '.php';
+                    if (clsname.substr(-1) != '/') clsname += '.php'
+                    else cvs_viewsource = false; // if ending with slash, always show directory listing
                     uri = uriOnly = '/' + clsname;
                     site = 'globals';
                     // must update entered url manually since it was stored before these changes
diff --git a/version b/version
index 9b40aa6c214fea85fb71198ee035d3d032aba6a8..9028ec636547108feb5621cdcf44bb54241f3c3c 100644 (file)
--- a/version
+++ b/version
@@ -1 +1 @@
-0.10.4
+0.10.5