]> git.nbdom.net Git - nb.git/commitdiff
dbq
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Fri, 23 Dec 2016 16:19:13 +0000 (16:19 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Fri, 23 Dec 2016 16:19:13 +0000 (16:19 +0000)
www/dbq/html/default.js

index 4125e1aa810a5ce47b9e86bd42055b18f0745f26..58aa569ab0a04c285d99b421e964d52f375ab8b7 100644 (file)
@@ -48,7 +48,7 @@ document.addEventListener("DOMContentLoaded", function() {
     e.onchange = function() {
       var format = document.getElementById("format").value;
       if (format == window._dbq["HTML_FORMAT"]) format = "html";
-      window.location =  "./" + document.getElementById("table").value + "." + format;
+      window.location =  "../" + document.getElementById("table").value + "." + format;
       return true;
     };
   }