FSN#51197 order of document.ready changed
svn path=/Website/trunk/; revision=36031
This commit is contained in:
@@ -136,7 +136,7 @@ function BLOCK_START(id, title, params) {
|
||||
%>
|
||||
</div>
|
||||
<div class="inside" id="<%=id%>List">
|
||||
<table class="fcltblocktab" width="100%"><%
|
||||
<table <%=params.tableid? "id='" + params.tableid + "'" : ""%> class="fcltblocktab" width="100%"><%
|
||||
}
|
||||
function BLOCK_END() {
|
||||
if (!__blockactive__) ERROR_BLOCK_END_WITHOUT_BLOCKSTART;
|
||||
@@ -184,13 +184,17 @@ function IFRAMER_HEADER(titel, buttons, params)
|
||||
var iscoll = getQParamInt("collapsed",0)==1;
|
||||
%>
|
||||
<script>
|
||||
$(document).ready(function()
|
||||
// in een 2de ready() want deze moet worden uitgevoerd na andere $(document).ready()'s
|
||||
$(function()
|
||||
{
|
||||
headertofooter();
|
||||
<% if (iscoll) { %>
|
||||
$(".fcltframeheader").next().toggle(); <%
|
||||
}
|
||||
%>
|
||||
$(function()
|
||||
{
|
||||
headertofooter();
|
||||
<% if (iscoll) { %>
|
||||
$(".fcltframeheader").next().toggle(); <%
|
||||
}
|
||||
%>
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<div class="fcltframeheader <%= iscoll && !(params && params.nocollaps) ? ' collapsed' : ''%>" <%=params && params.nocollaps? "" : "onclick=\"$(this).nextAll('#collapseblock').eq(0).toggle();$(this).toggleClass('collapsed');FcltMgr.resized(window);updateTableHeaders()\""%>>
|
||||
|
||||
Reference in New Issue
Block a user