mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
add _isDBInit
This commit is contained in:
parent
c6cae8fbe7
commit
4874bf305a
@ -5,6 +5,7 @@ O.esri.Edit.EditStore = function () {
|
||||
"use strict";
|
||||
|
||||
this._db = null;
|
||||
this._isDBInit = false;
|
||||
|
||||
// Public properties
|
||||
|
||||
@ -954,6 +955,7 @@ O.esri.Edit.EditStore = function () {
|
||||
|
||||
request.onsuccess = function (event) {
|
||||
this._db = event.target.result;
|
||||
this._isDBInit = true;
|
||||
console.log("database opened successfully");
|
||||
callback(true);
|
||||
}.bind(this);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user