diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-20 01:14:27 +0800 |
---|---|---|
committer | <unostar@danalan.info> | 2009-06-20 09:40:58 +0800 |
commit | 73a34bdff38f1663d2c861bf5780835948cccb3e (patch) | |
tree | d36e65ab77ea1872734f7b48248cd403eb12d1cb | |
parent | 99c780fd769765b75d53925e27b5a540a2d1320e (diff) |
Fix a javascript error that was breaking IE, and localize
ADD_A_COMMENT otherwise ui.init.js bombs.
Signed-off-by: <unostar@danalan.info>
-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> |