Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1102509
footer.tpl
No One
Temporary
Actions
Download 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, Aug 19, 3:50 AM
Size
1 KB
Mime Type
text/html
Expires
Thu, Aug 21, 3:50 AM (1 d, 13 h)
Engine
blob
Format
Raw Data
Handle
714207
Attached To
rINP In-Portal
footer.tpl
View Options
<
script
type
=
"text/javascript"
>
var
_Simultaneous_Edit_Message
=
'<inp2:m_Get var="_simultaneous_edit_message" js_escape="1"/>'
;
var
o
=
''
;
var
el
=
document
.
getElementById
(
'scroll_container'
);
if
(
el
)
{
document
.
body
.
style
.
height
=
'100%'
;
document
.
body
.
style
.
overflow
=
'hidden'
;
document
.
body
.
scroll
=
'no'
;
addLoadEvent
(
function
()
{
Form
.
Init
(
'scroll_container'
);
}
);
}
<
inp2
:
m_ifnot
check
=
"m_Get"
name
=
"m_wid"
equals_to
=
""
>
// for popups only; TODO: find a way, how to identify editing popups, not selectors
var
_DropTempUrl
=
'<inp2:m_t pass="m,adm" adm_event="OnDropTempTablesByWID" no_amp="1" js_escape="1"/>'
;
<
/inp2:m_ifnot>
Application
.
footerInit
();
<
inp2
:
m_if
check
=
"m_Get"
name
=
"_temp_table_message"
>
addLoadEvent
(
function
()
{
alert
(
'<inp2:m_Get name="_temp_table_message" js_escape="1"/>'
);
}
);
<
/inp2:m_if>
</
script
>
<
inp2:adm_AfterScript
/>
<
inp2:m_ifnot
check
=
"m_Param"
name
=
"noform"
equals_to
=
"yes"
>
<
inp2:m_RenderElement
name
=
"kernel_form_end"
/>
</
inp2:m_ifnot
>
<
div
id
=
"nlsMenuPlace"
></
div
>
<
inp2:m_if
check
=
"m_Get"
name
=
"edit_field"
>
<
script
type
=
"text/javascript"
>
<
inp2
:
m_if
check
=
"adm_UsePopups"
>
Application
.
setHook
(
'm:OnAfterFormInit'
,
function
()
{
var
$
row
=
get_control
(
'<inp2:adm_PassedPrefixTag tag="InputName" name="#FIELD_NAME#" js_escape="1"/>'
,
'<inp2:m_Get name="edit_field" js_escape="1"/>'
,
'row'
);
$
(
'#scroll_container_container'
).
scrollTop
(
$
(
$
row
).
offset
().
top
-
$
(
'#scroll_container_container'
).
offset
().
top
);
});
<
inp2
:
m_else
/>
$
(
document
).
ready
(
function
()
{
var
$
row
=
get_control
(
'<inp2:adm_PassedPrefixTag tag="InputName" name="#FIELD_NAME#" js_escape="1"/>'
,
'<inp2:m_Get name="edit_field" js_escape="1"/>'
,
'row'
);
$
(
getFrame
(
'main'
).
document
).
scrollTop
(
$
(
$
row
).
offset
().
top
);
});
<
/inp2:m_if>
</
script
>
</
inp2:m_if
>
</
body
>
</
html
>
Event Timeline
Log In to Comment