mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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
e8f067097b
commit
747b3bb103
@ -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