@yuneta/gobj-ui 7.9.0 → 7.9.1
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/gobj-ui.cjs.js +1 -2
- package/dist/gobj-ui.es.js +1 -2
- package/package.json +1 -1
- package/src/c_yui_treedb_topics.js +8 -6
package/dist/gobj-ui.cjs.js
CHANGED
|
@@ -15703,8 +15703,7 @@ function ac_mt_command_answer$2(gobj, event, kw, src) {
|
|
|
15703
15703
|
if (result >= 0) {
|
|
15704
15704
|
let gobj_topic_form = (0, _yuneta_gobj_js.gobj_find_child)(gobj, { __gobj_name__: `${(0, _yuneta_gobj_js.gobj_name)(gobj)}?${topic_name}` });
|
|
15705
15705
|
let answer = nodes_answer(data);
|
|
15706
|
-
let
|
|
15707
|
-
let req_id = (0, _yuneta_gobj_js.kw_get_str)(gobj, md, "req_id", "", 0);
|
|
15706
|
+
let req_id = (0, _yuneta_gobj_js.kw_get_str)(gobj, kw_command, "req_id", "", 0);
|
|
15708
15707
|
if (req_id) (0, _yuneta_gobj_js.gobj_send_event)(gobj_topic_form, "EV_PAGE_LOADED", {
|
|
15709
15708
|
req_id,
|
|
15710
15709
|
rows: answer.rows,
|
package/dist/gobj-ui.es.js
CHANGED
|
@@ -15698,8 +15698,7 @@ function ac_mt_command_answer$2(gobj, event, kw, src) {
|
|
|
15698
15698
|
if (result >= 0) {
|
|
15699
15699
|
let gobj_topic_form = gobj_find_child(gobj, { __gobj_name__: `${gobj_name(gobj)}?${topic_name}` });
|
|
15700
15700
|
let answer = nodes_answer(data);
|
|
15701
|
-
let
|
|
15702
|
-
let req_id = kw_get_str(gobj, md, "req_id", "", 0);
|
|
15701
|
+
let req_id = kw_get_str(gobj, kw_command, "req_id", "", 0);
|
|
15703
15702
|
if (req_id) gobj_send_event(gobj_topic_form, "EV_PAGE_LOADED", {
|
|
15704
15703
|
req_id,
|
|
15705
15704
|
rows: answer.rows,
|
package/package.json
CHANGED
|
@@ -1803,12 +1803,14 @@ function ac_mt_command_answer(gobj, event, kw, src)
|
|
|
1803
1803
|
* backend that cannot page: the whole list arrives as one
|
|
1804
1804
|
* page, which is the truth. */
|
|
1805
1805
|
let answer = nodes_answer(data);
|
|
1806
|
-
/* The correlation id
|
|
1807
|
-
*
|
|
1808
|
-
*
|
|
1809
|
-
*
|
|
1810
|
-
|
|
1811
|
-
|
|
1806
|
+
/* The correlation id rides in `__md_command__`, which is the
|
|
1807
|
+
* same place `topic_name` rides — and `kw_command` IS that
|
|
1808
|
+
* object: C_IEVENT_CLI EXTRACTS `__md_command__` from the kw
|
|
1809
|
+
* and pushes it as the command stack's `kw`. So it is read
|
|
1810
|
+
* flat, one level up from where the sent kw put it, and it
|
|
1811
|
+
* never travels to the backend as a parameter it does not
|
|
1812
|
+
* know. */
|
|
1813
|
+
let req_id = kw_get_str(gobj, kw_command, "req_id", "", 0);
|
|
1812
1814
|
if(req_id) {
|
|
1813
1815
|
gobj_send_event(
|
|
1814
1816
|
gobj_topic_form,
|