Joomla 1.6 bug fix
- artcheung
- Topic Author
- 訪客
2011-03-02 20:10 #19714
來自 artcheung
artcheung created the topic: Joomla 1.6 bug fix
Hi, here is the fix :
in /templates/beez_20/javascript/hide.js
and
/templates/beez5/javascript/hide.js
Line 51 to 55, replace :
Code:
if ($('mod-search-searchword')) {
$('mod-search-searchword').form.setProperties( {
role : 'search'
});
}
with
Code:
if (document.id('mod-search-searchword')) {
document.id(document.id('mod-search-searchword').form).set( {
role : 'search'
});
}
Should work now for bugs below
Message: Object doesn't support this property or method
Line: 52
Char: 3
Code: 0
URI: ../templates/beez_20/javascript/hide.js
Message: Object doesn't support this property or method
Line: 1
Char: 81199
Code: 0
URI: ../media/system/js/mootools-core.js
link from : http://forum.joomla.org/viewtopic.php?p=2428096
in /templates/beez_20/javascript/hide.js
and
/templates/beez5/javascript/hide.js
Line 51 to 55, replace :
Code:
if ($('mod-search-searchword')) {
$('mod-search-searchword').form.setProperties( {
role : 'search'
});
}
with
Code:
if (document.id('mod-search-searchword')) {
document.id(document.id('mod-search-searchword').form).set( {
role : 'search'
});
}
Should work now for bugs below
Message: Object doesn't support this property or method
Line: 52
Char: 3
Code: 0
URI: ../templates/beez_20/javascript/hide.js
Message: Object doesn't support this property or method
Line: 1
Char: 81199
Code: 0
URI: ../media/system/js/mootools-core.js
link from : http://forum.joomla.org/viewtopic.php?p=2428096
Please 登入 to join the conversation.