summaryrefslogtreecommitdiff
path: root/themes/default/views/photo.html.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-30 15:34:46 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-30 15:34:46 -0700
commit00c73ec852c29c214d72193ce368bc12a7305794 (patch)
tree55022057134f39c3d4fa92653f76b3f83fcf1c7a /themes/default/views/photo.html.php
parentbeb711d6a0fedac0d4ca3b9bae162a6ce9d6cdeb (diff)
Updating uses of html::js_string and SafeString::for_js (value now contains string delimiters)
Diffstat (limited to 'themes/default/views/photo.html.php')
-rw-r--r--themes/default/views/photo.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index 00e157ce..5289b467 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -5,7 +5,7 @@
<script>
$(document).ready(function() {
$(".gFullSizeLink").click(function() {
- $.gallery_show_full_size("<?= html::clean_js($theme->item()->file_url()) ?>", "<?= $theme->item()->width ?>", "<?= $theme->item()->height ?>");
+ $.gallery_show_full_size(<?= html::js_string($theme->item()->file_url()) ?>, "<?= $theme->item()->width ?>", "<?= $theme->item()->height ?>");
return false;
});
});