Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
6aae0a3c
Commit
6aae0a3c
authored
Jul 12, 2007
by
Dries Buytaert
Browse files
- Pach
#146462
by quicksketch, Stefan, et al: update to jQuery 1.1.3.1
parent
97201e85
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
misc/collapse.js
View file @
6aae0a3c
...
...
@@ -5,13 +5,13 @@
*/
Drupal
.
toggleFieldset
=
function
(
fieldset
)
{
if
(
$
(
fieldset
).
is
(
'
.collapsed
'
))
{
var
content
=
$
(
'
> div
'
,
fieldset
)
.
hide
()
;
var
content
=
$
(
'
> div
'
,
fieldset
);
$
(
fieldset
).
removeClass
(
'
collapsed
'
);
content
.
hide
();
content
.
slideDown
(
{
duration
:
300
,
duration
:
'
fast
'
,
easing
:
'
linear
'
,
complete
:
function
()
{
// Make sure we open to height auto
$
(
this
).
css
(
'
height
'
,
'
auto
'
);
Drupal
.
collapseScrollIntoView
(
this
.
parentNode
);
this
.
parentNode
.
animating
=
false
;
},
...
...
@@ -22,7 +22,7 @@ Drupal.toggleFieldset = function(fieldset) {
});
}
else
{
var
content
=
$
(
'
> div
'
,
fieldset
).
slideUp
(
'
medium
'
,
function
()
{
var
content
=
$
(
'
> div
'
,
fieldset
).
slideUp
(
'
fast
'
,
function
()
{
$
(
this
.
parentNode
).
addClass
(
'
collapsed
'
);
this
.
parentNode
.
animating
=
false
;
});
...
...
misc/jquery.js
View file @
6aae0a3c
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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