app/assets/javascripts/dashboard/manage_favorites_window.js
Function constructor
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor: function(config){
var rowActions = new Ext.ux.grid.RowActions({
actions: [
{iconCls: 'removeBtn', qtip: 'delete', cb: function(grid, record, action, index, colIndex){
if(confirm("Are you sure you wish to remove " + record.get('tab_config').title + "?"))
Function cb
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
{iconCls: 'removeBtn', qtip: 'delete', cb: function(grid, record, action, index, colIndex){