summaryrefslogtreecommitdiffstats
path: root/devel.js
diff options
context:
space:
mode:
Diffstat (limited to 'devel.js')
-rw-r--r--devel.js45
1 files changed, 0 insertions, 45 deletions
diff --git a/devel.js b/devel.js
deleted file mode 100644
index bbf4942..0000000
--- a/devel.js
+++ /dev/null
@@ -1,45 +0,0 @@
-(function ($) {
-
-// Explain link in query log
-Drupal.behaviors.devel_explain = {
- attach: function() {
- $('a.dev-explain').click(function () {
- qid = $(this).attr("qid");
- cell = $('#devel-query-' + qid);
- $('.dev-explain', cell).load(Drupal.settings.basePath + '?q=devel/explain/' + Drupal.settings.devel.request_id + '/' + qid).show();
- $('.dev-placeholders', cell).hide();
- $('.dev-arguments', cell).hide();
- return false;
- });
- }
-}
-
-// Arguments link in query log
-Drupal.behaviors.devel_arguments = {
- attach: function() {
- $('a.dev-arguments').click(function () {
- qid = $(this).attr("qid");
- cell = $('#devel-query-' + qid);
- $('.dev-arguments', cell).load(Drupal.settings.basePath + '?q=devel/arguments/' + Drupal.settings.devel.request_id + '/' + qid).show();
- $('.dev-placeholders', cell).hide();
- $('.dev-explain', cell).hide();
- return false;
- });
- }
-}
-
-// Placeholders link in query log
-Drupal.behaviors.devel_placeholders = {
- attach: function() {
- $('a.dev-placeholders').click(function () {
- qid = $(this).attr("qid");
- cell = $('#devel-query-' + qid);
- $('.dev-explain', cell).hide();
- $('.dev-arguments', cell).hide();
- $('.dev-placeholders', cell).show();
- return false;
- });
- }
-}
-
-})(jQuery);