disable rename file menup option for ref timeseries aggregation
@@ -266,10 +266,11 @@ function updateSelectionMenuContext() {
}
- var logicalFileType = $("#fb-files-container li.fb-file").children('span.fb-logical-file-type').attr("data-logical-file-type");
+ var logicalFileType = $("#fb-files-container li.fb-file.ui-selected").children('span.fb-logical-file-type').attr("data-logical-file-type");
if (logicalFileType === "GeoRasterLogicalFile" || logicalFileType === "NetCDFLogicalFile" ||
- logicalFileType === "GeoFeatureLogicalFile" || logicalFileType === "TimeSeriesLogicalFile") {
+ logicalFileType === "GeoFeatureLogicalFile" || logicalFileType === "TimeSeriesLogicalFile"
+ || logicalFileType === "RefTimeseriesLogicalFile") {
flagDisableCreateFolder = true;
flagDisableRename = true;
flagDisableDelete = true;
