mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 20:13:28 +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) {
|
_selectModelView: function(index) {
|
||||||
// select previous or next itemview
|
// select previous or next itemview
|
||||||
if (index >= 0) {
|
if (index >= 0) {
|
||||||
AdminFieldApp.fieldListView.itemViews[index].select().animate();
|
AdminFieldApp.fieldListView.itemViews[index].select().animate().click();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
_toggleLabels: function(event) {
|
_toggleLabels: function(event) {
|
||||||
|
@@ -70,6 +70,10 @@ define([
|
|||||||
|
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
click: function() {
|
||||||
|
this.$el.find('.trigger-click').first().trigger('click');
|
||||||
|
return this;
|
||||||
|
},
|
||||||
// scroll to current view in item list
|
// scroll to current view in item list
|
||||||
animate: function (top) {
|
animate: function (top) {
|
||||||
top = top || null;
|
top = top || null;
|
||||||
|
Reference in New Issue
Block a user