mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
Fix 1050 Push ou Validation >>> Absence de bouton de téléchargement dans l'interface sous IE 7 / 8
This commit is contained in:
@@ -1,33 +1,33 @@
|
|||||||
<span style="padding:10px 4px 7px;">
|
<span style="padding:10px 4px 7px;">
|
||||||
{% if basket_element %}
|
{% if basket_element %}
|
||||||
<button class="previous_button play" title="{% trans 'boutton::precedent' %}">
|
<button class="previous_button play btn btn-mini" title="{% trans 'boutton::precedent' %}">
|
||||||
<img src="/skins/lightbox/prev.png" />
|
<i class="icon-chevron-left"></i>
|
||||||
</button>
|
</button>
|
||||||
<button class="previous_button pause" title="{% trans 'boutton::precedent' %}">
|
<button class="previous_button pause btn btn-mini btn-inverse" title="{% trans 'boutton::precedent' %}">
|
||||||
<img src="/skins/lightbox/prev_pause.png" />
|
<i class="icon-chevron-left icon-white"></i>
|
||||||
</button>
|
</button>
|
||||||
<button class="play_button" title="{% trans 'boutton::demarrer' %}">
|
<button class="play_button btn btn-mini" title="{% trans 'boutton::demarrer' %}">
|
||||||
<img src="/skins/lightbox/play.png" />
|
<i class="icon-play"></i>
|
||||||
</button>
|
</button>
|
||||||
<button class="pause_button" title="{% trans 'boutton::pause' %}">
|
<button class="pause_button btn btn-mini" title="{% trans 'boutton::pause' %}">
|
||||||
<img src="/skins/lightbox/pause.png" />
|
<i class="icon-pause"></i>
|
||||||
</button>
|
</button>
|
||||||
<button class="next_button play" title="{% trans 'boutton::suivant' %}">
|
<button class="next_button play btn btn-mini" title="{% trans 'boutton::suivant' %}">
|
||||||
<img src="/skins/lightbox/next.png" />
|
<i class="icon-chevron-right"></i>
|
||||||
</button>
|
</button>
|
||||||
<button class="next_button pause" title="{% trans 'boutton::suivant' %}">
|
<button class="next_button pause btn btn-mini btn-inverse" title="{% trans 'boutton::suivant' %}">
|
||||||
<img src="/skins/lightbox/next_pause.png" />
|
<i class="icon-chevron-right icon-white"></i>
|
||||||
</button>
|
</button>
|
||||||
<button class="download_button" title="{% trans 'boutton::telecharger' %}">
|
<button class="download_button btn btn-mini btn-inverse" title="{% trans 'boutton::telecharger' %}">
|
||||||
<img src="/skins/lightbox/save.png"/>
|
<i class="icon-download icon-white"></i>
|
||||||
</button>
|
</button>
|
||||||
<form name="download_form" style="display:none;">
|
<form name="download_form" style="display:none;">
|
||||||
<input type="hidden" name="basrec" value="{{basket_element.getRecord().get_serialize_key()}}"/>
|
<input type="hidden" name="basrec" value="{{basket_element.getRecord().get_serialize_key()}}"/>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
|
||||||
{% if basket_element.getBasket().getValidation() %}
|
{% if basket_element.getBasket().getValidation() %}
|
||||||
<button class="comment_button">
|
<button class="comment_button btn btn-mini btn-inverse">
|
||||||
<img src="/skins/lightbox/note.png"/>
|
<i class="icon-edit icon-white"></i>
|
||||||
{% set n = 0 %}
|
{% set n = 0 %}
|
||||||
{% for validationData in basket_element.getValidationDatas() %}
|
{% for validationData in basket_element.getValidationDatas() %}
|
||||||
{% if validationData.getNote() %}
|
{% if validationData.getNote() %}
|
||||||
|
@@ -414,24 +414,12 @@ function display_basket_element(compare, sselcont_id)
|
|||||||
|
|
||||||
var options_container = $('.options',container);
|
var options_container = $('.options',container);
|
||||||
|
|
||||||
$('.download_button', options_container).button({
|
$('.download_button', options_container).bind('click',function(){
|
||||||
text : false
|
|
||||||
// ,
|
|
||||||
// icons : {
|
|
||||||
// primary: 'ui-icon-disk'
|
|
||||||
// }
|
|
||||||
}).bind('click',function(){
|
|
||||||
// $(this).blur();
|
// $(this).blur();
|
||||||
download($(this).next('form[name=download_form]').find('input').val());
|
download($(this).next('form[name=download_form]').find('input').val());
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.comment_button', options_container).button({
|
$('.comment_button', options_container).bind('click',function()
|
||||||
text : true
|
|
||||||
// ,
|
|
||||||
// icons : {
|
|
||||||
// primary: 'ui-icon-comment'
|
|
||||||
// }
|
|
||||||
}).bind('click',function()
|
|
||||||
{
|
{
|
||||||
// $(this).blur();
|
// $(this).blur();
|
||||||
if($('.container', container).hasClass('note_editing'))
|
if($('.container', container).hasClass('note_editing'))
|
||||||
@@ -447,35 +435,17 @@ function display_basket_element(compare, sselcont_id)
|
|||||||
|
|
||||||
activate_notes(container);
|
activate_notes(container);
|
||||||
|
|
||||||
$('.previous_button', options_container).button({
|
$('.previous_button', options_container).bind('click',function(){
|
||||||
text : false
|
|
||||||
// ,
|
|
||||||
// icons : {
|
|
||||||
// primary: 'ui-icon-seek-prev'
|
|
||||||
// }
|
|
||||||
}).bind('click',function(){
|
|
||||||
// $(this).blur();
|
// $(this).blur();
|
||||||
get_prev();
|
get_prev();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.play_button', options_container).button({
|
$('.play_button', options_container).bind('click',function(){
|
||||||
text : false
|
|
||||||
// ,
|
|
||||||
// icons : {
|
|
||||||
// primary: 'ui-icon-play'
|
|
||||||
// }
|
|
||||||
}).bind('click',function(){
|
|
||||||
// $(this).blur();
|
// $(this).blur();
|
||||||
slideshow(true);
|
slideshow(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.pause_button', options_container).button({
|
$('.pause_button', options_container).bind('click',function(){
|
||||||
text : false
|
|
||||||
// ,
|
|
||||||
// icons : {
|
|
||||||
// primary: 'ui-icon-pause'
|
|
||||||
// }
|
|
||||||
}).bind('click',function(){
|
|
||||||
// $(this).blur();
|
// $(this).blur();
|
||||||
slideshow(false);
|
slideshow(false);
|
||||||
});
|
});
|
||||||
@@ -489,13 +459,7 @@ function display_basket_element(compare, sselcont_id)
|
|||||||
$('.pause_button, .next_button.pause, .previous_button.pause', options_container).hide();
|
$('.pause_button, .next_button.pause, .previous_button.pause', options_container).hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.next_button', options_container).button({
|
$('.next_button', options_container).bind('click',function(){
|
||||||
text : false
|
|
||||||
// ,
|
|
||||||
// icons : {
|
|
||||||
// primary: 'ui-icon-seek-next'
|
|
||||||
// }
|
|
||||||
}).bind('click',function(){
|
|
||||||
// $(this).blur();
|
// $(this).blur();
|
||||||
slideshow(false);
|
slideshow(false);
|
||||||
get_next();
|
get_next();
|
||||||
|
Reference in New Issue
Block a user