summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-07-07 01:14:18 +0000
committerDries Buytaert <dries@buytaert.net>2010-07-07 01:14:18 +0000
commit47b8bec8e290a05af368d05deb7fb0cc98ef0292 (patch)
tree5adb42eec619b8f60bf9995c52ac21d3a29ce56b /modules/system
parent7bf7c1f50be06329ad25809941f0cc0ae293311f (diff)
downloadbrdo-47b8bec8e290a05af368d05deb7fb0cc98ef0292.tar.gz
brdo-47b8bec8e290a05af368d05deb7fb0cc98ef0292.tar.bz2
- Patch #749748 by mavimo, Dave Reid: contact and comment modules do not prefill with user info from cookie.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.module5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 23ecb714f..bef1427d4 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -279,6 +279,11 @@ function system_element_info() {
'#method' => 'post',
'#action' => request_uri(),
'#theme_wrappers' => array('form'),
+ '#attached' => array(
+ 'js' => array(
+ 'misc/form.js' => array('weight' => JS_LIBRARY + 1),
+ ),
+ ),
);
$types['page'] = array(
'#show_messages' => TRUE,