projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
174995b
)
Bugfix : chargement du script d'upload seulement si autorisé.
author
Benoît Pin
<benoit.pin@gmail.com>
Mon, 7 Apr 2014 13:39:53 +0000
(15:39 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Mon, 7 Apr 2014 13:39:53 +0000
(15:39 +0200)
skins/photo_layout_macros.pt
patch
|
blob
|
history
diff --git
a/skins/photo_layout_macros.pt
b/skins/photo_layout_macros.pt
index
b9f63c5
..
c895466
100644
(file)
--- a/
skins/photo_layout_macros.pt
+++ b/
skins/photo_layout_macros.pt
@@
-86,7
+86,9
@@
</div>
<br clear="all"/>
<div metal:use-macro="here/batch_macros/macros/navigation">batch navigation</div>
- <script type="text/javascript" tal:content="python:'''
+ <script type="text/javascript"
+ tal:condition="dropable"
+ tal:content="python:'''
(function(){
var lb = document.getElementById('lightbox');
var uploadUrl = absolute_url() + '/put_upload';