1
+ − 1
// Some final stuff - loader routines, etc.
+ − 2
+ − 3
function mdgInnerLoader(e)
+ − 4
{
+ − 5
if(window.location.hash == '#comments') ajaxComments();
+ − 6
window.onkeydown=isKeyPressed;
+ − 7
window.onkeyup=function(e) { isKeyPressed(e); };
+ − 8
Fat.fade_all();
+ − 9
fadeInfoBoxes();
+ − 10
//initTextareas();
+ − 11
buildSearchBoxes();
+ − 12
jBoxInit();
+ − 13
if(typeof (dbx_set_key) == 'function')
+ − 14
{
+ − 15
dbx_set_key();
+ − 16
}
189
fd0e9c7a7b28
Automatic set of state on Oxygen sidebar portlets should work now; reimplemented parts of the template parser (again) to workaround some PHP/PCRE issues and add support for parser plugins
Dan
diff
changeset
+ − 17
initSliders();
1
+ − 18
runOnloadHooks(e);
+ − 19
}
420
+ − 20
var ld;
+ − 21
if(window.onload) ld = window.onload;
+ − 22
else ld = function() {return;};
1
+ − 23
function enano_init(e) {
420
+ − 24
if ( typeof(ld) == 'function' )
+ − 25
{
+ − 26
ld(e);
+ − 27
}
1
+ − 28
mdgInnerLoader(e);
+ − 29
}
+ − 30
57
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
diff
changeset
+ − 31
if ( typeof(KILL_SWITCH) == 'boolean' && !KILL_SWITCH )
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
diff
changeset
+ − 32
{
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
diff
changeset
+ − 33
window.onload = enano_init;
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
diff
changeset
+ − 34
}
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
diff
changeset
+ − 35