diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-08-28 12:37:01 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-28 12:37:01 -0700 |
commit | dcead39dfbd1885720e888446d0572e11b7ad47c (patch) | |
tree | 11be9d25f96840743bbc3cfb3b55f9858b8a2c5c /modules/organize/helpers | |
parent | 36d1a8c4f2c85ed2ece0212ce1e0b682056d0d2a (diff) | |
parent | e24d23bf14af8ac3bbcc2431c56be118f9f881b4 (diff) |
Merge branch 'talmdal_branch' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/organize/helpers')
-rw-r--r-- | modules/organize/helpers/organize_theme.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/organize/helpers/organize_theme.php b/modules/organize/helpers/organize_theme.php index de812261..61b6fe7d 100644 --- a/modules/organize/helpers/organize_theme.php +++ b/modules/organize/helpers/organize_theme.php @@ -21,6 +21,10 @@ class organize_theme { static function head($theme) { $item = $theme->item(); if ($item && access::can("edit", $item) && $item->is_album()) { + // @todo: Defer loading js/css until we're loading the organize dialog as <script> and + // <link> elements so that we're not forcing them to be downloaded on every page view (which + // is expensive in terms of browser latency). When we do that, we'll have to figure out an + // approach that lets us continue to use the Kohana cascading filesystem. $theme->script("organize.js"); $theme->css("organize.css"); } |