mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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;
|
var checkedArray = null;
|
||||||
|
|
||||||
Event.observe( window, 'load', function() {
|
Event.observe( window, 'load', function() {
|
||||||
if($('sitetree')) {
|
if(typeof $('sitetree').observeMethod != 'undefined') {
|
||||||
$('sitetree').observeMethod( 'NodeClicked' , function() {
|
$('sitetree').observeMethod( 'NodeClicked' , function() {
|
||||||
checkedListNameArray = null;
|
checkedListNameArray = null;
|
||||||
checkedArray = null;
|
checkedArray = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user