Explorar el Código

Changed: EditableCollection prepared for changed ObservableMixin.

Szymon Cofalik hace 9 años
padre
commit
79aed8aa15
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/editablecollection.js

+ 1 - 1
src/editablecollection.js

@@ -33,7 +33,7 @@ export default class EditableCollection extends Collection {
 		this.set( 'current', null );
 
 		this.on( 'add', ( evt, editable ) => {
-			this.listenTo( editable, 'change:isFocused', ( evt, value ) => {
+			this.listenTo( editable, 'change:isFocused', ( evt, name, value ) => {
 				this.current = value ? editable : null;
 			} );
 		} );