mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 01:43:13 +00:00
PHRAS-2885
This commit is contained in:
@@ -411,6 +411,24 @@
|
||||
</div>
|
||||
|
||||
<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 = '' %}
|
||||
{% 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}) %}
|
||||
@@ -477,5 +495,6 @@
|
||||
{% endfor %}
|
||||
]
|
||||
};
|
||||
{% endif %}
|
||||
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user