[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:
Aaron Bohy
2015-09-01 20:05:05 +02:00
parent 275efedaad
commit 5bd8e02dc8
@@ -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