isobit-ui 0.0.424 → 0.0.425
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 +6 -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.425
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5885,9 +5885,11 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5885
5885
|
var action = f.action;
|
|
5886
5886
|
if (!action) action = window.location.pathname;
|
|
5887
5887
|
var t = me.$children[0].$children[0];
|
|
5888
|
-
var
|
|
5889
|
-
|
|
5890
|
-
if (
|
|
5888
|
+
var selected = me.getSelected()[0];
|
|
5889
|
+
var id = selected[t.rowKey];
|
|
5890
|
+
if (selected.tmpId) id = -selected.tmpId;
|
|
5891
|
+
console.log(selected);
|
|
5892
|
+
if (me.getSelectedId) id = me.getSelectedId(selected);
|
|
5891
5893
|
|
|
5892
5894
|
if (window.app) {
|
|
5893
5895
|
me.open(action + '/' + id + '/edit');
|