Enable drop on nextmatch rows

This commit is contained in:
Nathan Gray 2013-04-12 17:05:35 +00:00
parent b2cb70f15f
commit 027bcc53d1

View File

@ -579,7 +579,7 @@ class etemplate_widget_nextmatch extends etemplate_widget
} }
// add all first level popup actions plus ones with enabled = 'javaScript:...' to action_links // add all first level popup actions plus ones with enabled = 'javaScript:...' to action_links
if ((!isset($action['type']) || in_array($action['type'],array('popup','drag'))) && // popup is the default if ((!isset($action['type']) || in_array($action['type'],array('popup','drag','drop'))) && // popup is the default
($first_level || substr($action['enabled'],0,11) == 'javaScript:')) ($first_level || substr($action['enabled'],0,11) == 'javaScript:'))
{ {
$action_links[] = $action['id']; $action_links[] = $action['id'];