mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fixed "object not found" error in ie6 (somehow Observable is not applied to sitetree at window-load)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48840 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a4630b1736
commit
c89d0dc981
@ -4,7 +4,7 @@ var checkedListField = 'selected';
|
||||
var checkedArray = null;
|
||||
|
||||
Event.observe( window, 'load', function() {
|
||||
if($('sitetree')) {
|
||||
if(typeof $('sitetree').observeMethod != 'undefined') {
|
||||
$('sitetree').observeMethod( 'NodeClicked' , function() {
|
||||
checkedListNameArray = null;
|
||||
checkedArray = null;
|
||||
|
Loading…
Reference in New Issue
Block a user