Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F2569994
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
Wed, Jun 10, 7:01 PM
Size
1 KB
Mime Type
text/plain
Expires
Fri, Jun 12, 7:01 PM (16 h, 22 m)
Engine
blob
Format
Raw Data
Handle
377233
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
();
});
};
if
(
$
(
'.exclude_directions-remove-sign'
).
size
()
>
0
)
{
$
(
".exclude_directions-remove-sign"
).
click
(
function
()
{
removeExcludeDirectionsTextArea
();
});
};
});
function
addIncludedFileTextArea
()
{
var
textArrea
=
$
(
'.include_files:last'
).
clone
(
true
).
val
(
""
);
$
(
'.include_files-plus-sign:last'
).
parent
().
hide
();
textArrea
.
insertAfter
(
'.include_files:last'
);
$
(
'.include_files:last input'
).
val
(
""
);
$
(
'.include_files-remove-sign:last'
).
show
();
}
function
addExcludeDirectionsTextArea
()
{
var
textArrea
=
$
(
'.exclude_directions:last'
).
clone
(
true
).
val
(
""
);
$
(
'.exclude_directions-plus-sign:last'
).
parent
().
hide
();
textArrea
.
insertAfter
(
'.exclude_directions:last'
);
$
(
'.exclude_directions:last input'
).
val
(
""
);
$
(
'.exclude_directions-remove-sign:last'
).
show
();
}
function
removeIncludedFileTextArea
()
{
$
(
'.include_files:last'
).
remove
();
$
(
'.include_files-plus-sign:last'
).
parent
().
show
();
if
(
$
(
'.include_files'
).
size
()
>
1
)
{
$
(
'.include_files-remove-sign:last'
).
parent
().
show
();
};
}
function
removeExcludeDirectionsTextArea
()
{
$
(
'.exclude_directions:last'
).
remove
();
$
(
'.exclude_directions-plus-sign:last'
).
parent
().
show
();
if
(
$
(
'.exclude_directions'
).
size
()
>
1
)
{
$
(
'.exclude_directions-remove-sign:last'
).
parent
().
show
();
};
}
Event Timeline
Log In to Comment