projects
/
Pman.Admin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync
[Pman.Admin]
/
Pman.Tab.AdminEnum.js
diff --git
a/Pman.Tab.AdminEnum.js
b/Pman.Tab.AdminEnum.js
index
7a3168c
..
314c952
100644
(file)
--- a/
Pman.Tab.AdminEnum.js
+++ b/
Pman.Tab.AdminEnum.js
@@
-647,15
+647,16
@@
Pman.Tab.AdminEnum = new Roo.XComponent({
listeners : {
click : function()
{
listeners : {
click : function()
{
- var s = _this.grid.getSelectionModel().getSelections();
- console.log(_this.grid.getSelectionModel());
+
+ var s = _this.grid.getSelectionModel().getSelectedCell();
+
if (!s.length) {
Roo.MessageBox.alert("Error", "Select a Row");
return;
}
var d = _this.grid.ds.getAt(s[0]);
if (!s.length) {
Roo.MessageBox.alert("Error", "Select a Row");
return;
}
var d = _this.grid.ds.getAt(s[0]);
-
+ console.log(Pman.Dialog);
Pman.Dialog.AdminEnumMerge.show(d.data, function() {
_this.grid.footer.onClick('refresh');
});
Pman.Dialog.AdminEnumMerge.show(d.data, function() {
_this.grid.footer.onClick('refresh');
});