mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
fix reordering of collections from admin interface
This commit is contained in:
@@ -270,10 +270,10 @@
|
||||
pub_wm: $this.val()
|
||||
},
|
||||
success: function(datas) {
|
||||
var html = _.template($("#alert_"+ (datas.success ? "success" : "error") +"_tpl").html(), {
|
||||
var html = _.template($("#alert_" + (datas.success ? "success" : "error") + "_tpl").html());
|
||||
$this.closest('.action-block').prepend(html({
|
||||
content:datas.msg
|
||||
});
|
||||
$this.closest('.action-block').prepend(html);
|
||||
}));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@@ -94,10 +94,10 @@
|
||||
$this.prop('disabled',true);
|
||||
},
|
||||
success : function(datas) {
|
||||
var html = _.template($("#alert_"+ (datas.success ? "success" : "error") +"_tpl").html(), {
|
||||
var html = _.template($("#alert_" + (datas.success ? "success" : "error") + "_tpl").html());
|
||||
$('#notification').html(html({
|
||||
content:datas.msg
|
||||
});
|
||||
$('#notification').html(html);
|
||||
}));
|
||||
AdminApp.LeftView.reloadTree('bases:bases', true);
|
||||
},
|
||||
complete : function() {
|
||||
|
Reference in New Issue
Block a user