Skip to content
Snippets Groups Projects
Commit a0f668ce authored by aeschylus's avatar aeschylus
Browse files

change search tab availability to false by default in the options so that it...

change search tab availability to false by default in the options so that it can be safely tested as a 'beta' feature
parent 429bc747
Branches
Tags
No related merge requests found
......@@ -54,8 +54,8 @@
"toc" : true,
"annotations" : false,
"tocTabAvailable": true,
"layersTabAvailable": true,
"searchTabAvailable": true,
// "layersTabAvailable": true,
"searchTabAvailable": false,
},
"sidePanelVisible" : true, //whether or not to make the side panel visible in this window on load. This setting is dependent on sidePanel being true
"overlay" : true, //whether or not to make the metadata overlay available/visible in this window
......
......@@ -8,7 +8,7 @@
panelState: {},
tocTabAvailable: null,
// annotationsTabAvailable: false,
layersTabAvailable: null,
// layersTabAvailable: null,
// toolsTabAvailable: false,
searchTabAvailable: null,
hasStructures: false,
......@@ -41,14 +41,14 @@
label:'Annotations'
}
},*/
{
name : 'layers',
options : {
available: _this.layersTabAvailable,
id:'layersTab',
label:'Layers'
}
},
// {
// name : 'layers',
// options : {
// available: _this.layersTabAvailable,
// id:'layersTab',
// label:'Layers'
// }
// },
/*{
name : 'tools',
options : {
......@@ -116,16 +116,16 @@
eventEmitter: _this.eventEmitter
});
}
if (_this.layersTabAvailable) {
new $.LayersTab({
manifest: _this.manifest,
windowId: this.windowId,
appendTo: _this.element.find('.tabContentArea'),
canvasID: this.canvasID,
state: _this.state,
eventEmitter: _this.eventEmitter
});
}
// if (_this.layersTabAvailable) {
// new $.LayersTab({
// manifest: _this.manifest,
// windowId: this.windowId,
// appendTo: _this.element.find('.tabContentArea'),
// canvasID: this.canvasID,
// state: _this.state,
// eventEmitter: _this.eventEmitter
// });
// }
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment