Explorar o código

Changed: EditableCollection prepared for changed ObservableMixin.

Szymon Cofalik %!s(int64=9) %!d(string=hai) anos
pai
achega
79aed8aa15
Modificáronse 1 ficheiros con 1 adicións e 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;
 			} );
 		} );