Skip to content

Commit 4809f23

Browse files
author
Alan Snow
committed
added empty string option for request for warning poings
1 parent 2afa92f commit 4809f23

File tree

1 file changed

+2
-1
lines changed
  • tethysapp/streamflow_prediction_tool/public/js

1 file changed

+2
-1
lines changed

tethysapp/streamflow_prediction_tool/public/js/map.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,7 @@ var ERFP_MAP = (function() {
12111211
//FUNCTION: LOAD WARNING POINTS
12121212
loadWarningPoints = function(watershed_layer_group, group_id, datetime_string) {
12131213
$(group_id).parent().addClass('hidden');
1214+
12141215
//get warning points for map
12151216
var xhr = jQuery.ajax({
12161217
type: "GET",
@@ -1220,7 +1221,7 @@ var ERFP_MAP = (function() {
12201221
watershed_name: watershed_layer_group.get('ecmwf_watershed_name'),
12211222
subbasin_name: watershed_layer_group.get('ecmwf_subbasin_name'),
12221223
return_period: watershed_layer_group.get('return_period'),
1223-
forecast_folder: datetime_string,
1224+
forecast_folder: datetime_string || "",
12241225
},
12251226
})
12261227
var xhr2 = xhr.done(function (data) {

0 commit comments

Comments
 (0)