@xuda.io/xuda-worker-bundle-min 1.3.856 → 1.3.857
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/index.js +14 -14
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3188,22 +3188,22 @@ func.datasource.run_rows_form = async function (
|
|
|
3188
3188
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dataSourceSession];
|
|
3189
3189
|
if (!_ds) return;
|
|
3190
3190
|
let _ROWID = raw_data_row.id;
|
|
3191
|
-
var val = _ds.data_feed.rows[rowIdxP];
|
|
3191
|
+
// var val = _ds.data_feed.rows[rowIdxP];
|
|
3192
3192
|
|
|
3193
|
-
var idx;
|
|
3193
|
+
var idx = rowIdxP;
|
|
3194
3194
|
|
|
3195
|
-
try {
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
} catch (e) {
|
|
3205
|
-
|
|
3206
|
-
}
|
|
3195
|
+
// try {
|
|
3196
|
+
// if (typeof val !== "undefined") {
|
|
3197
|
+
// idx = rowIdxP;
|
|
3198
|
+
// _ROWID = val._ROWID;
|
|
3199
|
+
// } else {
|
|
3200
|
+
// _ROWID = "newRecord";
|
|
3201
|
+
// val = _ds.data_feed.rows.push({ _ROWID });
|
|
3202
|
+
// idx = func.common.find_ROWID_idx(_ds, _ROWID);
|
|
3203
|
+
// }
|
|
3204
|
+
// } catch (e) {
|
|
3205
|
+
// console.error(e);
|
|
3206
|
+
// }
|
|
3207
3207
|
|
|
3208
3208
|
_ds.currentRecordId = _ROWID; // set temporary to allow expression decoder work
|
|
3209
3209
|
|