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