mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
fix typeError if enableClass method is called without _target parameter
stalling rendering of nextmatch rows in filemanager
This commit is contained in:
parent
a17a29db81
commit
0a2f41f29d
@ -518,6 +518,10 @@ egwAction.prototype.not_disableClass = function(_action, _senders, _target)
|
||||
*/
|
||||
egwAction.prototype.enableClass = function(_action, _senders, _target)
|
||||
{
|
||||
if (typeof _target == 'undefined')
|
||||
{
|
||||
return false;
|
||||
} else
|
||||
if(_target.iface.getDOMNode())
|
||||
{
|
||||
return jQuery(_target.iface.getDOMNode()).hasClass(_action.data.enableClass);
|
||||
|
Loading…
Reference in New Issue
Block a user