From 21ac9f1917595492fa9997e565bf11ec8d8cd14f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 12 Sep 2007 18:29:32 +0000 Subject: #174708 by multiple contributors: update jQuery to 1.2 --- modules/node/node.admin.inc | 2 +- modules/node/node.js | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 modules/node/node.js (limited to 'modules/node') diff --git a/modules/node/node.admin.inc b/modules/node/node.admin.inc index b2c39568c..eeac16e56 100644 --- a/modules/node/node.admin.inc +++ b/modules/node/node.admin.inc @@ -268,7 +268,7 @@ function node_filter_form() { $form['filters']['buttons']['reset'] = array('#type' => 'submit', '#value' => t('Reset')); } - drupal_add_js(drupal_get_path('module', 'node') .'/node.js'); + drupal_add_js('misc/form.js', 'core'); return $form; } diff --git a/modules/node/node.js b/modules/node/node.js deleted file mode 100644 index b8b352000..000000000 --- a/modules/node/node.js +++ /dev/null @@ -1,12 +0,0 @@ -// $Id$ - -if (Drupal.jsEnabled) { - $(function() { - // Automatically selects the right radio button in the filter section of - // the admin content list. - $('#node-admin-filter select').change(function() { - $('#node-admin-filter input:radio[@value="'+ this.id.substr(5) +'"]') - .attr('checked', true); - }); - }); -} -- cgit v1.2.3