// Forum module
if (module_exists('forum')) {
$popups['admin/content/forum'] = array(
// Add container and Add forum tabs
'#tabs-wrapper a[href*=admin/content/forum/add]' => array(
'additionalJavascript' => array( // Does this work?
'misc/tabledrag.js',
'modules/taxonomy/taxonomy.js',
'misc/tableheader.js',
),
),
// Settings tab
'#tabs-wrapper a[href$=admin/content/forum/settings]' => array(
'noUpdate' => TRUE,
),
// Edit container and edit forum links
'table#taxonomy td:nth-child(2) a',
// The help link
'.more-help-link a',
);
}
?>
if (module_exists('forum')) {
$popups['admin/content/forum'] = array(
// Add container and Add forum tabs
'#tabs-wrapper a[href*=admin/content/forum/add]' => array(
'additionalJavascript' => array( // Does this work?
'misc/tabledrag.js',
'modules/taxonomy/taxonomy.js',
'misc/tableheader.js',
),
),
// Settings tab
'#tabs-wrapper a[href$=admin/content/forum/settings]' => array(
'noUpdate' => TRUE,
),
// Edit container and edit forum links
'table#taxonomy td:nth-child(2) a',
// The help link
'.more-help-link a',
);
}
?>
Postponed for $popups in #385432: Aggregator Module Support.
Also, what are your thoughts on applying the popup to the help link? It looks pretty nice.........
Comments
Comment #1
robloachMissed the php tag...........
Comment #2
starbow commentedI am down with help in popups.
It needs a swtich though....either the hook goes in it's own module, or it gets a checkbox on the settings page.