mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Fix list saving
This commit is contained in:
@@ -94,12 +94,13 @@ var p4 = p4 || {};
|
|||||||
}
|
}
|
||||||
|
|
||||||
var $this = this;
|
var $this = this;
|
||||||
|
var data = {usr_ids : $(arrayUsers).toArray()};
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: '/prod/lists/list/' + this.id + '/add/',
|
url: '/prod/lists/list/' + $this.id + '/add/',
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
data: {usr_ids : arrayUsers},
|
data: data,
|
||||||
success: function(data){
|
success: function(data){
|
||||||
if(data.success)
|
if(data.success)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user