Anton Shestakov <av6@dwimlabs.net>, Wed, 06 Apr 2016 13:06:28 +0800
provision: move X-Frame-Options header out of {% if ssl-enabled %}
Because it's not a HTTPS-only feature, let's enable it always.
static/js/framework/views/workspaces.js
Permissions: -rw-r--r--
var WorkspaceTabsView = CollectionView.extend({ initialize: function(options) { this.compileTemplates(options.templates); renderItem: function(workspace) { return $(this.templates.tab(workspace.toJSON())); appendItem: function(workspace) { var $item = this.renderItem(workspace); activate: function(workspace) { this.$el.find('[data-workspace]').removeClass('active'); this.$el.find('[data-workspace="' + workspace + '"]').addClass('active');