will it blend?
Squashed commit of the following:
commit 3d3baddd23
Author: Henry <akhenry@gmail.com>
Date:   Thu Feb 2 15:08:26 2017 -0800
    [Tables] Do not persist column configuration for non-editable objects
			
			
This commit is contained in:
		@@ -172,7 +172,9 @@ define(
 | 
			
		||||
            });
 | 
			
		||||
 | 
			
		||||
            //Synchronize column configuration with model
 | 
			
		||||
            if (configChanged(configuration, defaultConfig)) {
 | 
			
		||||
            if (this.domainObject.hasCapability('editor') &&
 | 
			
		||||
                this.domainObject.getCapability('editor').isEditContextRoot() &&
 | 
			
		||||
                configChanged(configuration, defaultConfig)) {
 | 
			
		||||
                this.saveColumnConfiguration(configuration);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -36,10 +36,18 @@ define(
 | 
			
		||||
 | 
			
		||||
            beforeEach(function () {
 | 
			
		||||
                mockDomainObject = jasmine.createSpyObj('domainObject',
 | 
			
		||||
                    ['getModel', 'useCapability', 'getCapability']
 | 
			
		||||
                    ['getModel', 'useCapability', 'getCapability', 'hasCapability']
 | 
			
		||||
                );
 | 
			
		||||
                mockModel = {};
 | 
			
		||||
                mockDomainObject.getModel.andReturn(mockModel);
 | 
			
		||||
                mockDomainObject.getCapability.andCallFake(function (name) {
 | 
			
		||||
                    return name === 'editor' && {
 | 
			
		||||
                        isEditContextRoot: function () {
 | 
			
		||||
                            return true;
 | 
			
		||||
                        }
 | 
			
		||||
                    };
 | 
			
		||||
                });
 | 
			
		||||
 | 
			
		||||
                mockTelemetryFormatter = jasmine.createSpyObj('telemetryFormatter',
 | 
			
		||||
                    [
 | 
			
		||||
                        'format'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user