diff options
Diffstat (limited to 'modules/file/file.module')
-rw-r--r-- | modules/file/file.module | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/file/file.module b/modules/file/file.module index 21b147889..4af5bae07 100644 --- a/modules/file/file.module +++ b/modules/file/file.module @@ -50,8 +50,10 @@ function file_elements() { '#upload_validators' => array(), '#upload_location' => NULL, '#extended' => FALSE, - '#attached_css' => array($file_path . '/file.css'), - '#attached_js' => array($file_path . '/file.js'), + '#attached' => array( + 'css' => array($file_path . '/file.css'), + 'js' => array($file_path . '/file.js'), + ), ); return $elements; |