diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-12 18:29:32 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-12 18:29:32 +0000 |
commit | 21ac9f1917595492fa9997e565bf11ec8d8cd14f (patch) | |
tree | c90c3c454de850d5a315f5a4cae2404e87a56b94 /modules/node | |
parent | b3fe5b9cbff70dd29a574e6770f32bcb48c6a78c (diff) | |
download | brdo-21ac9f1917595492fa9997e565bf11ec8d8cd14f.tar.gz brdo-21ac9f1917595492fa9997e565bf11ec8d8cd14f.tar.bz2 |
#174708 by multiple contributors: update jQuery to 1.2
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.admin.inc | 2 | ||||
-rw-r--r-- | modules/node/node.js | 12 |
2 files changed, 1 insertions, 13 deletions
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); - }); - }); -} |