diff --git a/server/src/uds/static/adm/js/gui-element.coffee b/server/src/uds/static/adm/js/gui-element.coffee index ea4cdfeb1..ed844a2fc 100644 --- a/server/src/uds/static/adm/js/gui-element.coffee +++ b/server/src/uds/static/adm/js/gui-element.coffee @@ -237,7 +237,7 @@ return btns = [] - if tblParams.buttons + if tblParams.buttons # Generic click handler generator for this table clickHandlerFor = (handler, action, newHandler) -> gui.doLog "Setting click handler for ", handler, action, newHandler diff --git a/server/src/uds/static/js/uds-client.coffee b/server/src/uds/static/js/uds-client.coffee index 0d73ed1c2..497719135 100644 --- a/server/src/uds/static/js/uds-client.coffee +++ b/server/src/uds/static/js/uds-client.coffee @@ -192,6 +192,9 @@ uds.launch = (el) -> unblockUI() alert data.error else + # Fix access provided in url in case of https + # if window.location.protocol is 'https:' + # data.url = data.url.replace('uds://', 'udss://') # Ensures that protocol is https also for plugin, fixing if needed UDS provided info if bypassPluginDetection is false uds.doLaunch el, data.url, alt else