mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 12:03:14 +00:00
Fix #1266 when removing a field, the right panel is not updated
This commit is contained in:
@@ -217,7 +217,7 @@ define([
|
||||
_selectModelView: function(index) {
|
||||
// select previous or next itemview
|
||||
if (index >= 0) {
|
||||
AdminFieldApp.fieldListView.itemViews[index].select().animate();
|
||||
AdminFieldApp.fieldListView.itemViews[index].select().animate().click();
|
||||
}
|
||||
},
|
||||
_toggleLabels: function(event) {
|
||||
|
@@ -70,6 +70,10 @@ define([
|
||||
|
||||
return this;
|
||||
},
|
||||
click: function() {
|
||||
this.$el.find('.trigger-click').first().trigger('click');
|
||||
return this;
|
||||
},
|
||||
// scroll to current view in item list
|
||||
animate: function (top) {
|
||||
top = top || null;
|
||||
|
Reference in New Issue
Block a user