Merge pull request #515 from hasuniea/windows10

Fixing gateway issues in windows
merge-requests/1/head
Rasika Perera 8 years ago committed by GitHub
commit 72d9e2d0d3

@ -68,7 +68,7 @@ public final class PluginConstants {
public static final String CXF_REQUEST_URI = "org.apache.cxf.request.uri"; public static final String CXF_REQUEST_URI = "org.apache.cxf.request.uri";
//Web services media types //Web services media types
public static final String SYNCML_MEDIA_TYPE = "application/vnd.syncml.dm+xml;charset=utf-8"; public static final String SYNCML_MEDIA_TYPE = "application/vnd.syncml.dm+xml";
/** /**
* Discovery service related other constants * Discovery service related other constants

@ -46,7 +46,7 @@ import javax.ws.rs.core.Response;
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = "name", value = "Windows 10 Device management"), @ExtensionProperty(name = "name", value = "Windows 10 Device management"),
@ExtensionProperty(name = "context", @ExtensionProperty(name = "context",
value = "/api/device-mgt/windows/v1.0/management"), value = "/api/device-mgt/windows/v1.0/management/devicemgt"),
}) })
} }
), ),

@ -45,7 +45,7 @@ $(document).ready(function () {
var url = $(this).prop("href"); var url = $(this).prop("href");
var hash = url.substring(url.indexOf("#") + 1); var hash = url.substring(url.indexOf("#") + 1);
if (hash == "device_location") { if (hash == "device_location_tab") {
if (!map) { if (!map) {
loadLeafletMap(); loadLeafletMap();
} }

Loading…
Cancel
Save