mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02:00
fix typeError if enableClass method is called without _target parameter
stalling rendering of nextmatch rows in filemanager
This commit is contained in:
parent
e8f067097b
commit
747b3bb103
@ -518,6 +518,10 @@ egwAction.prototype.not_disableClass = function(_action, _senders, _target)
|
|||||||
*/
|
*/
|
||||||
egwAction.prototype.enableClass = function(_action, _senders, _target)
|
egwAction.prototype.enableClass = function(_action, _senders, _target)
|
||||||
{
|
{
|
||||||
|
if (typeof _target == 'undefined')
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
} else
|
||||||
if(_target.iface.getDOMNode())
|
if(_target.iface.getDOMNode())
|
||||||
{
|
{
|
||||||
return jQuery(_target.iface.getDOMNode()).hasClass(_action.data.enableClass);
|
return jQuery(_target.iface.getDOMNode()).hasClass(_action.data.enableClass);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user