Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
220
Merge Requests
220
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
893fba43
Commit
893fba43
authored
Jul 07, 2010
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Roll-back of
#749748
. This broke JavaScript on node add forms, and probably elsewhere.
parent
d38b5b80
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
includes/form.inc
includes/form.inc
+3
-0
modules/node/node.admin.inc
modules/node/node.admin.inc
+2
-0
modules/system/system.module
modules/system/system.module
+0
-5
modules/user/user.admin.inc
modules/user/user.admin.inc
+2
-0
No files found.
includes/form.inc
View file @
893fba43
...
...
@@ -2852,6 +2852,9 @@ function form_process_fieldset(&$element, &$form_state) {
$form_state
[
'groups'
][
$group
][]
=
&
$element
;
}
// Contains form element summary functionalities.
$element
[
'#attached'
][
'js'
][
'misc/form.js'
]
=
array
(
'weight'
=>
JS_LIBRARY
+
1
);
// The .form-wrapper class is required for #states to treat fieldsets like
// containers.
if
(
!
isset
(
$element
[
'#attributes'
][
'class'
]))
{
...
...
modules/node/node.admin.inc
View file @
893fba43
...
...
@@ -196,6 +196,8 @@ function node_filter_form() {
$form
[
'filters'
][
'actions'
][
'reset'
]
=
array
(
'#type'
=>
'submit'
,
'#value'
=>
t
(
'Reset'
));
}
drupal_add_js
(
'misc/form.js'
);
return
$form
;
}
...
...
modules/system/system.module
View file @
893fba43
...
...
@@ -279,11 +279,6 @@ 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
,
...
...
modules/user/user.admin.inc
View file @
893fba43
...
...
@@ -92,6 +92,8 @@ function user_filter_form() {
);
}
drupal_add_js
(
'misc/form.js'
);
return
$form
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment