mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-202 #fix deletion of diffusion list in IE
This commit is contained in:
@@ -25,9 +25,8 @@
|
||||
</td>
|
||||
{% if list.getOwner(app['authentication'].getUser(), app).getRole() >= constant('\\Entities\\UsrListOwner::ROLE_ADMIN') %}
|
||||
<td style="text-align:right;white-space:nowrap;width:150px;">
|
||||
<button class="deleter btn btn-inverse">
|
||||
<button class="deleter btn btn-inverse" data-list-id="{{ list.getId() }}">
|
||||
{% trans 'Delete' %}
|
||||
<input type="hidden" name="list_id" value="{{ list.getId() }}"/>
|
||||
</button>
|
||||
</td>
|
||||
{% endif %}
|
||||
|
@@ -514,7 +514,7 @@
|
||||
var options = {
|
||||
cancelButton: true,
|
||||
buttons: buttons,
|
||||
size: 'Alert'
|
||||
size: '700x170'
|
||||
};
|
||||
|
||||
p4.Dialog.Create(options, 2).setContent(box);
|
||||
@@ -626,7 +626,7 @@
|
||||
|
||||
$('button.deleter', $container).bind('click', function (event) {
|
||||
|
||||
var list_id = $(this).find('input[name=list_id]').val();
|
||||
var list_id = $(this).data("list-id");
|
||||
|
||||
var makeDialog = function (box) {
|
||||
|
||||
|
Reference in New Issue
Block a user