isobit-ui 0.0.436 → 0.0.439
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 +5 -7
- 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.439
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5896,24 +5896,22 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5896
5896
|
//console.log(e);
|
|
5897
5897
|
alert(e); //this.open({data:''+e});
|
|
5898
5898
|
},
|
|
5899
|
-
destroy: function destroy() {
|
|
5899
|
+
destroy: function destroy(e) {
|
|
5900
5900
|
var me = this;
|
|
5901
5901
|
var f = me.$children[0];
|
|
5902
5902
|
f.action;
|
|
5903
|
-
|
|
5904
|
-
|
|
5903
|
+
console.log(e);
|
|
5904
|
+
var t = me.$children[0].$children[0];
|
|
5905
5905
|
var key = t.$attrs.rowkey;
|
|
5906
5906
|
if (!key) key = t.rowKey;
|
|
5907
|
-
console.log(t.selected);
|
|
5908
5907
|
var dat = t.data[t.selected[0]];
|
|
5909
|
-
console.log(dat);
|
|
5910
5908
|
|
|
5911
5909
|
if (dat.tmpId) {
|
|
5912
5910
|
me.MsgBox('Esta seguro que desea eliminar los registros temporales seleccionados ?', function (r) {
|
|
5913
5911
|
if (r == 0) {
|
|
5914
5912
|
var c = 0,
|
|
5915
5913
|
db = window._.db;
|
|
5916
|
-
var objectStore = db.transaction([t.
|
|
5914
|
+
var objectStore = db.transaction([t.store], "readwrite").objectStore(t.store);
|
|
5917
5915
|
var ele = [];
|
|
5918
5916
|
|
|
5919
5917
|
for (var k = t.selected.length - 1; k >= 0; k--) {
|