Remove unused new_enabled variable
This commit is contained in:
parent
cd5d2231ad
commit
bd99d8f1f3
File diff suppressed because one or more lines are too long
|
@ -170,8 +170,7 @@
|
||||||
methods = _.indexBy( model.get( 'methods' ), 'instance_id' ),
|
methods = _.indexBy( model.get( 'methods' ), 'instance_id' ),
|
||||||
instance_id = $target.closest( 'tr' ).data( 'id' ),
|
instance_id = $target.closest( 'tr' ).data( 'id' ),
|
||||||
enabled = $target.closest( 'tr' ).data( 'enabled' ) === 'yes' ? 'no' : 'yes',
|
enabled = $target.closest( 'tr' ).data( 'enabled' ) === 'yes' ? 'no' : 'yes',
|
||||||
changes = {},
|
changes = {};
|
||||||
new_enabled = 'yes';
|
|
||||||
|
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
methods[ instance_id ].enabled = enabled;
|
methods[ instance_id ].enabled = enabled;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue