projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aab402d
)
Pman.Delete.js
author
Alan Knowles
<alan@roojs.com>
Tue, 21 Jul 2020 06:46:14 +0000
(14:46 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 21 Jul 2020 06:46:14 +0000
(14:46 +0800)
Pman.Delete.js
patch
|
blob
|
history
diff --git
a/Pman.Delete.js
b/Pman.Delete.js
index
b84ff8d
..
b0ab16e
100644
(file)
--- a/
Pman.Delete.js
+++ b/
Pman.Delete.js
@@
-41,6
+41,7
@@
Pman.Delete = {
if (btn != 'yes') {
return;
}
if (btn != 'yes') {
return;
}
+ tab.grid.getView().mainWrap.mask("Deleting");
Pman.Delete.simpleCall(tab, tbl, r, function(response) {
tab.grid.getView().mainWrap.unmask();
if ( tab.paging ) {
Pman.Delete.simpleCall(tab, tbl, r, function(response) {
tab.grid.getView().mainWrap.unmask();
if ( tab.paging ) {
@@
-66,7
+67,7
@@
Pman.Delete = {
simpleCall : function(tab, tbl, r, resp)
{
// what about the toolbar??
simpleCall : function(tab, tbl, r, resp)
{
// what about the toolbar??
- tab.grid.getView().mainWrap.mask("Deleting");
+
new Pman.Request({
url: baseURL + '/Roo/'+tbl,
method: 'POST',
new Pman.Request({
url: baseURL + '/Roo/'+tbl,
method: 'POST',
@@
-88,7
+89,7
@@
Pman.Delete = {
}
});
}
});
- }
+ }
,
progress : function(tab, tbl) {
progress : function(tab, tbl) {