diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-19 10:14:27 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-19 10:14:27 -0700 |
commit | d54afb71d42da1b2a3c289a3a95dfa672a172607 (patch) | |
tree | 905240a9da6b3924a5ad2c0a7167d15ec3b52e25 | |
parent | cdb4052b5245315cf6619dfeb3488fd17ebc54e0 (diff) |
Fix a javascript error that was breaking IE, and localize
ADD_A_COMMENT otherwise ui.init.js bombs.
-rw-r--r-- | themes/default/views/movie.html.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/themes/default/views/movie.html.php b/themes/default/views/movie.html.php index 0cdf63fa..e8559697 100644 --- a/themes/default/views/movie.html.php +++ b/themes/default/views/movie.html.php @@ -25,7 +25,7 @@ }, controls: { autoHide: 'always', - hideDelay: 2000, + hideDelay: 2000 } } }) @@ -36,5 +36,8 @@ <div><?= p::clean($item->description) ?></div> </div> + <script type="text/javascript"> + var ADD_A_COMMENT = "<?= t("Add a comment") ?>"; + </script> <?= $theme->photo_bottom() ?> </div> |