diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-29 19:11:59 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-29 19:11:59 -0700 |
commit | 95b900d4f47489a285024e3037f375a8dd79efd7 (patch) | |
tree | 823ffed610e5e5265df03083ad50ece398c1bf93 /modules/gallery/libraries/Admin_View.php | |
parent | 325203e1caeb1bc1e957c4d50be76baaed6ba10c (diff) |
Fix some bugs in the combined JS/CSS code (most of which I introduced
in my last refactor):
1) Actually combine the JS (I was only combining the CSS)
2) Add line breaks between the files and comment them so that we can
find a specific file inside the blob.
3) Add an HTML comment to help developers figure out why they can't
find their CSS/JS.
Diffstat (limited to 'modules/gallery/libraries/Admin_View.php')
-rw-r--r-- | modules/gallery/libraries/Admin_View.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/Admin_View.php b/modules/gallery/libraries/Admin_View.php index f7de96bf..58daf3d2 100644 --- a/modules/gallery/libraries/Admin_View.php +++ b/modules/gallery/libraries/Admin_View.php @@ -100,7 +100,7 @@ class Admin_View_Core extends Gallery_View { if ($function == "head") { array_unshift($blocks, $this->combine_files($this->css, "css")); - array_unshift($blocks, $this->combine_files($this->css, "javascript")); + array_unshift($blocks, $this->combine_files($this->scripts, "javascript")); } if (Session::instance()->get("debug")) { |