Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4669
common.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
common.js
View Options
/*
* Copyright (C) 2016 Virgo Venture, Inc.
* @%@~LICENSE~@%@
*/
function
get
(
id
)
{
return
document
.
getElementById
(
id
);
}
/*
* (from IOVAR/usr/include/ui/general.js)
*/
function
isStyled
()
{
var
check
=
document
.
createElement
(
'div'
);
check
.
style
.
display
=
'none'
;
var
body
=
document
.
getElementsByTagName
(
'body'
)[
0
];
body
.
appendChild
(
check
);
var
styled
=
true
;
if
(
window
.
getComputedStyle
)
{
//alert ('check display: '+window.getComputedStyle (check).display);
if
(
window
.
getComputedStyle
(
check
).
display
!=
'none'
)
{
styled
=
false
;
}
}
else
if
(
check
.
currentStyle
)
{
//alert ('check display: '+check.currentStyle.display);
if
(
check
.
currentStyle
.
display
!=
'none'
)
{
styled
=
false
;
}
}
body
.
removeChild
(
check
);
return
styled
;
}
function
htmlSafe
(
text
)
{
text
=
text
.
replace
(
/&/g
,
'&'
);
text
=
text
.
replace
(
/</g
,
'<'
);
text
=
text
.
replace
(
/>/g
,
'>'
);
return
text
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 21, 10:59 AM (5 h, 5 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3521
Default Alt Text
common.js (1 KB)
Attached To
Mode
rIOVAR Web Platform
Attached
Detach File
Event Timeline
Log In to Comment