Download & Extend

How to remove preview ?

Project:Nodeselect
Version:6.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi,

I would like to remove the preview feature that opens in a modal frame.

I tried to modify the line 131 in aef_nodeselect.module

$variables['title']      = l('<span class="nodereference">' . check_plain($variables['node']->title) . ' [nid:' . $variables['node']->nid . ']</span>', 'node/' . $variables['node']->nid . '/aef_embedded_edit', array('attributes' => array('class' => 'nodeselect-node'), 'html' => true));

by this

  $variables['title']      = check_plain($variables['node']->title) . '<span class="hidden">[nid:' . $variables['node']->nid . ']</span>';

But the drag & drop doesn't work without the link l() function.

How could I get the drag & drop working without having this preview feature available ?

Many thanks for any help !

nobody click here