projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pman.Dialog.CoreAutoSavePreview.bjs
[Pman.Core]
/
Pman.Dialog.CoreAutoSavePreview.js
diff --git
a/Pman.Dialog.CoreAutoSavePreview.js
b/Pman.Dialog.CoreAutoSavePreview.js
index
a34516d
..
6511474
100644
(file)
--- a/
Pman.Dialog.CoreAutoSavePreview.js
+++ b/
Pman.Dialog.CoreAutoSavePreview.js
@@
-135,6
+135,13
@@
Pman.Dialog.CoreAutoSavePreview = {
Roo.apply(o.params, d);
+ },
+ load : function (_self, records, options)
+ {
+ var sm = _this.grid.getSelectionModel();
+ if (!sm.getSelections().length) {
+ sm.selectFirstRow();
+ }
}
},
remoteSort : true,