[IMP] web: action_manager: update client action's title
when the widget's title changes, as it is displayed in the breadcrumbs
This commit is contained in:
@@ -107,6 +107,9 @@ var WidgetAction = Action.extend({
|
||||
if (!this.widget.get('title')) {
|
||||
this.widget.set('title', this.title);
|
||||
}
|
||||
this.widget.on('change:title', this, function(widget) {
|
||||
this.title = widget.get('title');
|
||||
});
|
||||
},
|
||||
/**
|
||||
* Wraps the action's widget in a container and appends it to el
|
||||
|
||||
Reference in New Issue
Block a user