isobit-ui 0.0.413 → 0.0.414
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.414
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -6290,7 +6290,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6290
6290
|
storedList.unshift(o);
|
|
6291
6291
|
objectStore.add(o);
|
|
6292
6292
|
me.$emit('stored', o, storedList, objectStore);
|
|
6293
|
-
if (me.app && me.app.toast) me.app.toast('El
|
|
6293
|
+
if (me.app && me.app.toast) me.app.toast('El registro fue grabado correctamente!');
|
|
6294
6294
|
o0.tmpId = o.tmpId;
|
|
6295
6295
|
o0.id = o.id;
|
|
6296
6296
|
me.close({
|
|
@@ -6312,7 +6312,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6312
6312
|
}
|
|
6313
6313
|
|
|
6314
6314
|
me.$emit('stored', o, storedList);
|
|
6315
|
-
if (me.app && me.app.toast) me.app.toast('El
|
|
6315
|
+
if (me.app && me.app.toast) me.app.toast('El registro fue grabado correctamente!');
|
|
6316
6316
|
me.close({
|
|
6317
6317
|
success: true,
|
|
6318
6318
|
data: o
|
|
@@ -6339,7 +6339,11 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6339
6339
|
|
|
6340
6340
|
var item = objectStore.get(o.tmpId);
|
|
6341
6341
|
o.tmpSynchronized = 1;
|
|
6342
|
-
|
|
6342
|
+
|
|
6343
|
+
if (data.id) {
|
|
6344
|
+
o.id = data.id;
|
|
6345
|
+
o0.id = o.id;
|
|
6346
|
+
}
|
|
6343
6347
|
|
|
6344
6348
|
item.onsuccess = function () {
|
|
6345
6349
|
if (item.result) {
|