Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F5492856
filesets.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Sep 29, 6:17 PM
Size
1 KB
Mime Type
text/plain
Expires
Thu, Oct 1, 6:17 PM (22 h, 18 m)
Engine
blob
Format
Raw Data
Handle
458440
Attached To
rARCHIVING archiving
filesets.js
View Options
$
(
document
).
ready
(
function
()
{
if
(
$
(
'.include_files-plus-sign'
).
size
()
>
0
)
{
$
(
".include_files-plus-sign"
).
click
(
function
()
{
addIncludedFileTextArea
();
});
};
if
(
$
(
'.exclude_directions-plus-sign'
).
size
()
>
0
)
{
$
(
".exclude_directions-plus-sign"
).
click
(
function
()
{
addExcludeDirectionsTextArea
();
});
};
if
(
$
(
'.include_files-remove-sign'
).
size
()
>
0
)
{
$
(
".include_files-remove-sign"
).
click
(
function
()
{
removeIncludedFileTextArea
(
$
(
this
));
});
};
if
(
$
(
'.exclude_directions-remove-sign'
).
size
()
>
0
)
{
$
(
".exclude_directions-remove-sign"
).
click
(
function
()
{
removeExcludeDirectionsTextArea
(
$
(
this
));
});
};
});
function
addIncludedFileTextArea
()
{
var
textArrea
=
$
(
'.templates .include_files:last'
).
clone
(
true
).
val
(
""
);
textArrea
.
insertBefore
(
'.here-included'
);
if
(
$
(
'.include_files'
).
size
()
>
1
)
{
$
(
'.include_files-remove-sign'
).
show
();
};
}
function
addExcludeDirectionsTextArea
()
{
var
textArrea
=
$
(
'.templates .exclude_directions:last'
).
clone
(
true
).
val
(
""
);
textArrea
.
insertAfter
(
'.here-excluded'
);
$
(
'.exclude_directions:last input'
).
val
(
""
);
}
function
removeIncludedFileTextArea
(
element
)
{
element
.
closest
(
'div.include_files'
).
remove
();
if
(
$
(
'form .include_files'
).
size
()
<=
1
)
{
$
(
'.include_files-remove-sign'
).
hide
();
};
}
function
removeExcludeDirectionsTextArea
(
element
)
{
element
.
closest
(
'div.exclude_directions'
).
remove
()
}
Event Timeline
Log In to Comment