mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
updated library reference for attachmentsStore
This commit is contained in:
parent
12f1dd9754
commit
5d87be2ddb
@ -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;
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user