diff options
Diffstat (limited to 'modules/node/node.js')
-rw-r--r-- | modules/node/node.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/node/node.js b/modules/node/node.js new file mode 100644 index 000000000..b8b352000 --- /dev/null +++ b/modules/node/node.js @@ -0,0 +1,12 @@ +// $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); + }); + }); +} |