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