diff --git a/lib/edit/offlineFeaturesManager.js b/lib/edit/offlineFeaturesManager.js index 8ca537f..bfe2fe6 100644 --- a/lib/edit/offlineFeaturesManager.js +++ b/lib/edit/offlineFeaturesManager.js @@ -1,7 +1,5 @@ define([ - "edit/attachmentsStore", - "dojo/Evented", "dojo/_base/Deferred", "dojo/promise/all", @@ -17,7 +15,7 @@ define([ "esri/symbols/SimpleLineSymbol", "esri/symbols/SimpleFillSymbol", "esri/urlUtils"], - function(AttachmentsStore, + function( Evented,Deferred,all,declare,array,domAttr,domStyle,query, esriConfig,GraphicsLayer,Graphic,SimpleMarkerSymbol,SimpleLineSymbol,SimpleFillSymbol,urlUtils) { @@ -59,7 +57,7 @@ define([ try { - this.attachmentsStore = new AttachmentsStore(); + this.attachmentsStore = new O.esri.Edit.AttachmentsStore(); if( /*false &&*/ this.attachmentsStore.isSupported() ) { @@ -102,7 +100,7 @@ define([ } return true; } - alert("The File APIs are not fully supported in this browser."); + console.log("The File APIs are not fully supported in this browser."); return false; },