                 error_msg = "The number of shards must be an integer."
                 @display_msg error_msg
                 return
-            
+
             if new_num_shards < 1 or new_num_shards > MAX_SHARD_COUNT
                 error_msg = "The number of shards must be beteen 1 and " + MAX_SHARD_COUNT + "."
                 @display_msg error_msg

                    .attr('y', (d) -> return d.y)
                    .attr('text-anchor', (d) -> return d.anchor)
                    .text((d) -> return d.string)
                
                # Create ticks
                # First the tick's background
                svg.selectAll('.cache').data(y.ticks(5))


                $.ajax
                     processData: false
                     url: "/ajax/semilattice/#{@model.attributes.protocol}_namespaces/#{@model.get('id')}?prefer_distribution=1"
                     type: 'POST'
                     contentType: 'application/json'
                     data: JSON.stringify(data)
