##// END OF EJS Templates
s/apply_update/set_state
Jonathan Frederic -
Show More
@@ -69,7 +69,7 define(["widgets/js/manager",
69 69 var method = msg.content.data.method;
70 70 switch (method) {
71 71 case 'update':
72 this.apply_update(msg.content.data.state);
72 this.set_state(msg.content.data.state);
73 73 break;
74 74 case 'custom':
75 75 this.trigger('msg:custom', msg.content.data.content);
@@ -80,7 +80,7 define(["widgets/js/manager",
80 80 }
81 81 },
82 82
83 apply_update: function (state) {
83 set_state: function (state) {
84 84 // Handle when a widget is updated via the python side.
85 85 this.state_lock = state;
86 86 try {
General Comments 0
You need to be logged in to leave comments. Login now