isobit-ui 0.0.444 → 0.0.445
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 +3 -3
- 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.445
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5865,12 +5865,12 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5865
5865
|
instance.get(_$1.currentPath = (action + '/create').replace(/([^:]\/)\/+/g, "$1") + '?modal').then(_$1.open)["catch"](me.error);
|
|
5866
5866
|
}
|
|
5867
5867
|
},
|
|
5868
|
-
edit: function edit() {
|
|
5868
|
+
edit: function edit(e) {
|
|
5869
5869
|
var me = this;
|
|
5870
5870
|
var f = me.$children[0];
|
|
5871
5871
|
var action = f.action;
|
|
5872
5872
|
if (!action) action = window.location.pathname;
|
|
5873
|
-
var t = me.$children[0].$children[0];
|
|
5873
|
+
var t = e.$vnode ? e : me.$children[0].$children[0];
|
|
5874
5874
|
var selected = me.getSelected()[0];
|
|
5875
5875
|
var id = selected[t.rowKey];
|
|
5876
5876
|
if (selected.tmpId) id = -selected.tmpId;
|