Posted by Jax on November 27, 2012 at 11:32am
2 followers
Jump to:
| Project: | IMCE |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
Imce adds a file browser tab to the user/* paths but doesn't report it as an admin path which causes the site to switch in and out of the overlay when going from edit to file browser and back.
Since user.module reports all its paths as admin paths:
<?php
function user_admin_paths() {
$paths = array(
'user/*/cancel' => TRUE,
'user/*/edit' => TRUE,
'user/*/edit/*' => TRUE,
);
return $paths;
}
?>I'd think that it would be more consisten if imce did as well:
<?php
function imce_admin_paths() {
$paths = array(
'user/*/imce' => TRUE,
);
return $paths;
}
?>
Comments
#1
No editing or administration takes place at user/*/imce path. It should stay as is just like user/*/contact or any other regular tab.