mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-2885
This commit is contained in:
@@ -411,6 +411,24 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
{% if multipleDataboxes == 1 %}
|
||||||
|
$(function() {
|
||||||
|
// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
|
||||||
|
$( "#dialog-edit-many-sbas:ui-dialog" ).dialog( "destroy" );
|
||||||
|
$( "#dialog-edit-many-sbas" ).dialog({
|
||||||
|
modal: true,
|
||||||
|
resizable:false,
|
||||||
|
buttons: {
|
||||||
|
Ok: function() {
|
||||||
|
$( this ).dialog( "close" );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
$('#dialog-edit-many-sbas').on('dialogclose', function(event) {
|
||||||
|
location.reload();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
{% else %}
|
||||||
{% set notActionableMsg = '' %}
|
{% set notActionableMsg = '' %}
|
||||||
{% if not_actionable > 1 %}
|
{% if not_actionable > 1 %}
|
||||||
{% set notActionableMsg = 'prod::editing: %not_actionable% documents ne peuvent etre edites car vos droits sont induffisants' | trans({'%not_actionable%' : not_actionable}) %}
|
{% set notActionableMsg = 'prod::editing: %not_actionable% documents ne peuvent etre edites car vos droits sont induffisants' | trans({'%not_actionable%' : not_actionable}) %}
|
||||||
@@ -477,5 +495,6 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user