From 4874bf305a99e848fe2e286ec8328be4b10f040c Mon Sep 17 00:00:00 2001 From: Andy Gup Date: Wed, 29 Apr 2015 19:18:18 -0600 Subject: [PATCH] add _isDBInit --- lib/edit/editsStore.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/edit/editsStore.js b/lib/edit/editsStore.js index 84e6cac..e5cc003 100644 --- a/lib/edit/editsStore.js +++ b/lib/edit/editsStore.js @@ -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);