aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/media
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/media')
-rw-r--r--debug_toolbar/media/toolbar.css2
-rw-r--r--debug_toolbar/media/toolbar.js19
2 files changed, 18 insertions, 3 deletions
diff --git a/debug_toolbar/media/toolbar.css b/debug_toolbar/media/toolbar.css
index 11dd978..7d2ad82 100644
--- a/debug_toolbar/media/toolbar.css
+++ b/debug_toolbar/media/toolbar.css
@@ -12,3 +12,5 @@
#djDebug th, #djDebug td {padding: 5px;}
#djDebug .row1 td {background:#fff;}
#djDebug .row2 td {background:#ddd;}
+#djDebugWindow {z-index:2000000;}
+#djDebugWindow .back {float:right; font-weight:bold;}
diff --git a/debug_toolbar/media/toolbar.js b/debug_toolbar/media/toolbar.js
index 3da65d2..7d2f6b5 100644
--- a/debug_toolbar/media/toolbar.js
+++ b/debug_toolbar/media/toolbar.js
@@ -17,13 +17,22 @@ jQuery(function() {
}
return false;
});
- jQuery('#djDebugTemplatePanel a.djTemplateShowContext').click(function() {
- jQuery.djDebug.toggle_content(jQuery(this).parent().next());
- });
jQuery('#djDebug a.close').click(function() {
jQuery(document).trigger('close.djDebug');
return false;
});
+ jQuery('#djDebugWindow a.back').click(function() {
+ console.dir(jQuery(this).parent());
+ jQuery(this).parent().hide();
+ return false;
+ });
+ jQuery('#djDebug a.remoteCall').click(function() {
+ jQuery.djDebug.remote_call(this);
+ return false;
+ });
+ jQuery('#djDebugTemplatePanel a.djTemplateShowContext').click(function() {
+ jQuery.djDebug.toggle_content(jQuery(this).parent().next());
+ });
},
open: function() {
jQuery(document).bind('keydown.djDebug', function(e) {
@@ -39,6 +48,10 @@ jQuery(function() {
elem.show();
}
},
+ remote_call: function(obj) {
+ jQuery('#djDebugWindow').load(obj.href).show();
+
+ },
close: function() {
jQuery(document).trigger('close.djDebug');
return false;