Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
bibliossimo
opacce
Commits
0707c0cd
Commit
0707c0cd
authored
Dec 04, 2017
by
Ghislain Loas
Browse files
hotline #67202 fix lightbox id
parent
d4e5d9e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
VERSIONS_HOTLINE/67202
VERSIONS_HOTLINE/67202
+1
-0
library/ZendAfi/View/Helper/Notice/Vignette.php
library/ZendAfi/View/Helper/Notice/Vignette.php
+5
-2
No files found.
VERSIONS_HOTLINE/67202
0 → 100644
View file @
0707c0cd
- ticket #67202 : Titres remplacés par d'autres titres dans Bokeh : urgent SVP
\ No newline at end of file
library/ZendAfi/View/Helper/Notice/Vignette.php
View file @
0707c0cd
...
...
@@ -135,13 +135,16 @@ class ZendAfi_View_Helper_Notice_VignetteStrategyView
if
(
Class_WebService_Vignette
::
NO_DATA
==
$this
->
_record
->
getUrlImage
())
return
parent
::
_renderThumbnail
();
$id
=
'vignette_'
.
$this
->
_record
->
getId
();
Class_ScriptLoader
::
getInstance
()
->
loadButterflyLightbox
()
->
addJQueryReady
(
'$("a#vignette").butterfly({closeButton:false});'
);
->
addJQueryReady
(
sprintf
(
'$("a#%s").butterfly({closeButton:false});'
,
$id
));
return
$this
->
view
->
tagAnchor
(
$this
->
view
->
absoluteUrl
(
$this
->
_fetchUrl
()),
$this
->
_renderImage
(),
[
'id'
=>
'vignette'
,
[
'id'
=>
$id
,
'title'
=>
htmlentities
(
$this
->
_record
->
getTitrePrincipal
())]);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment