Made widget model state update function public

Jonathan Frederic 12 years ago committed by Jonathan Frederic
parent 8ceb29796a
commit 3c866ea412

@ -148,7 +148,7 @@ function(widget_manager, underscore, backbone){
}
break;
case 'update':
this._handle_update(msg.content.data.state);
this.apply_update(msg.content.data.state);
break;
case 'add_class':
case 'remove_class':
@ -172,7 +172,7 @@ function(widget_manager, underscore, backbone){
// Handle when a widget is updated via the python side.
_handle_update: function (state) {
apply_update: function (state) {
this.updating = true;
try {
for (var key in state) {

Loading…
Cancel
Save