fix: Make IE11 compliant by removing default param value from ES2015

pull/3941/head
Tom King 2018-12-13 09:13:21 +00:00
parent 3c2e976997
commit da3bba7ba8
1 changed files with 4 additions and 1 deletions

View File

@ -3222,7 +3222,10 @@ function quickSubmitGalaxyForm(event_id, cluster_id) {
return false;
}
function checkAndSetPublishedInfo(skip_reload=false) {
function checkAndSetPublishedInfo(skip_reload) {
if (typeof skip_reload === "undefined") {
skip_reload = false;
}
var id = $('#hiddenSideMenuData').data('event-id');
if (id !== 'undefined' && !skip_reload) {
$.get( "/events/checkPublishedStatus/" + id, function(data) {