Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/admin_templates/incs/footer.tpl
<script type="text/javascript"> | <script type="text/javascript"> | ||||
var _Simultaneous_Edit_Message = '<inp2:m_Get var="_simultaneous_edit_message" js_escape="1"/>'; | var _Simultaneous_Edit_Message = '<inp2:m_Get var="_simultaneous_edit_message" js_escape="1"/>'; | ||||
<inp2:m_if check="adm_UsePopups"> | |||||
var o = ''; | var o = ''; | ||||
var el = document.getElementById('scroll_container'); | var el = document.getElementById('scroll_container'); | ||||
if (el) { | if (el) { | ||||
document.body.style.height = '100%'; | document.body.style.height = '100%'; | ||||
document.body.style.overflow = 'hidden'; | document.body.style.overflow = 'hidden'; | ||||
document.body.scroll = 'no' | document.body.scroll = 'no'; | ||||
addLoadEvent( | addLoadEvent( | ||||
function() { | function() { | ||||
Form.Init('scroll_container'); | Form.Init('scroll_container'); | ||||
} | } | ||||
); | ); | ||||
} | } | ||||
<inp2:m_ifnot check="m_Get" name="m_wid" equals_to=""> | <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 | // 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"/>'; | var _DropTempUrl = '<inp2:m_t pass="m,adm" adm_event="OnDropTempTablesByWID" no_amp="1" js_escape="1"/>'; | ||||
</inp2:m_ifnot> | </inp2:m_ifnot> | ||||
Application.footerInit(); | Application.footerInit(); | ||||
<inp2:m_else/> | |||||
addLoadEvent( | |||||
function() { | |||||
Form.displayFirstError(); | |||||
IterateUploaders('renderBrowseButton'); | |||||
} | |||||
); | |||||
InitEditors(); | |||||
</inp2:m_if> | |||||
<inp2:m_if check="m_Get" name="_temp_table_message"> | <inp2:m_if check="m_Get" name="_temp_table_message"> | ||||
addLoadEvent( | addLoadEvent( | ||||
function() { | function() { | ||||
alert('<inp2:m_Get name="_temp_table_message" js_escape="1"/>'); | alert('<inp2:m_Get name="_temp_table_message" js_escape="1"/>'); | ||||
} | } | ||||
); | ); | ||||
</inp2:m_if> | </inp2:m_if> | ||||
</script> | </script> | ||||
<inp2:m_ifnot check="adm_UsePopups"> | |||||
<inp2:m_ifnot check="m_Get" name="t" equals_to="head|tree"> | |||||
<br /><br /> | |||||
</inp2:m_ifnot> | |||||
</inp2:m_ifnot> | |||||
<inp2:adm_AfterScript/> | <inp2:adm_AfterScript/> | ||||
<inp2:m_ifnot check="m_Param" name="noform" equals_to="yes"> | <inp2:m_ifnot check="m_Param" name="noform" equals_to="yes"> | ||||
<inp2:m_RenderElement name="kernel_form_end"/> | <inp2:m_RenderElement name="kernel_form_end"/> | ||||
</inp2:m_ifnot> | </inp2:m_ifnot> | ||||
<div id="nlsMenuPlace"></div> | <div id="nlsMenuPlace"></div> | ||||
</body> | </body> | ||||
</html> | </html> | ||||
No newline at end of file |