From 20aaabe8b3e35f2823ca7c96258953b10e454121 Mon Sep 17 00:00:00 2001 From: Andy Gup Date: Mon, 22 Sep 2014 19:09:07 -0600 Subject: [PATCH] v2.1.1 --- CHANGELOG.md | 3 +++ samples/attachments-editor.html | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88e7b04..8b35c44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # offline-editor-js - Changelog +## Version 2.1.1 - Sep 22, 2014 +- Closes #244 - broken attachements-editor sample gh-pages + ## Version 2.1 - Sep 18, 2014 - Closes #236 - Minor typo in How to use TPKLayer doc - Closes #237 - Completely rebuilt gh-pages. Now we have an online demo app page. diff --git a/samples/attachments-editor.html b/samples/attachments-editor.html index 74d496d..0e463f6 100644 --- a/samples/attachments-editor.html +++ b/samples/attachments-editor.html @@ -96,7 +96,7 @@ // a proxy page is required to upload attachments // refer to "Using the Proxy Page" for more information: https://developers.arcgis.com/en/javascript/jshelp/ags_proxy.html //esriConfig.defaults.io.proxyUrl = "../lib/proxy.php"; - esriConfig.defaults.io.proxyUrl = window.proxyPath; + esriConfig.defaults.io.proxyUrl = null; //can be set to null when using a CORS-enabled server var offlineFeaturesManager = new O.esri.Edit.OfflineFeaturesManager(); offlineFeaturesManager.initAttachments(function(success) @@ -109,8 +109,8 @@ map = new Map("map", { basemap: "streets", - center: [-122.427, 37.769], - zoom: 15 + center: [-88.1,41.7], + zoom: 11 }); map.on("load", mapLoaded); @@ -123,7 +123,7 @@ function mapLoaded() { - featureLayer = new FeatureLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0",{ + featureLayer = new FeatureLayer("http://sampleserver6.arcgisonline.com/arcgis/rest/services/ServiceRequest/FeatureServer/0",{ mode: FeatureLayer.MODE_ONDEMAND //mode: FeatureLayer.MODE_SNAPSHOT });