Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-3.x-dev
Component:
content.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2009 at 22:30 UTC
Updated:
21 Jun 2009 at 00:40 UTC
Comments
Comment #1
yched commentedAlthough the js files are included in theme calls, moving them to the theme folder seems odd. I'd rather have them in a new cck/js folder. I think that's the most common pattern in contrib.
Comment #2
markus_petrux commentedOk, then please proceed, and I'll move the new .js file to the cck/js folder as well. :)
What about the names of these files? Maybe js/content.admin.js and cck/content.node_form.js ?
Comment #3
markus_petrux commentedChanging the title to reflect a more consistent approach, as also applied to latest patch in #196421.
The change involves moving
content.jstojs/content.admin.jsand apply the following mini-patch to theme/theme.inc:This .js file is enabled for the 'Manage Fields' screen only, and it is sent transparently to any other module. Hence, side effects: none. :)
Comment #4
markus_petrux commentedCommitted to CVS.
Note the js has not been changed in any way. It has just been moved to the js subdirectory, for consistency with location of other javascript files.