summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
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,