diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php
index 4be8b176f..e4672a3f3 100644
--- a/views/bootstrap/class.Bootstrap.php
+++ b/views/bootstrap/class.Bootstrap.php
@@ -141,8 +141,11 @@ $(document).ready(function () {
//]]>
";
}
- if(method_exists($this, 'js'))
- echo ''."\n";
+ if(method_exists($this, 'js')) {
+ parse_str($_SERVER['QUERY_STRING'], $tmp);
+ $tmp['action'] = 'js';
+ echo ''."\n";
+ }
echo "