Commit f8d3b747 authored by Luochenglong's avatar Luochenglong

修复双击保存多条数据BUG add by luochenglong

parent c5992a6f
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
} }
if (records.length != 0) { if (records.length != 0) {
Leaf.showConfirm('${l:HLS.PROMPT}', '${l:HLS030.CONFIRM_DELETE}', function() { Leaf.showConfirm('${l:HLS.PROMPT}', '${l:HLS030.CONFIRM_DELETE}', function() {
Leaf.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
Leaf.request({ Leaf.request({
url: $('cloumn_code_delete_link').getUrl(), url: $('cloumn_code_delete_link').getUrl(),
para: paras, para: paras,
...@@ -42,6 +43,7 @@ ...@@ -42,6 +43,7 @@
Leaf.showMessage('提示','删除成功',function(){ Leaf.showMessage('提示','删除成功',function(){
ds.query(); ds.query();
}); });
Leaf.Masker.unmask(detail_mask);
}, },
failure: function() { failure: function() {
Leaf.Masker.unmask(detail_mask); Leaf.Masker.unmask(detail_mask);
...@@ -82,8 +84,8 @@ ...@@ -82,8 +84,8 @@
success: function(res) { success: function(res) {
Leaf.showMessage('提示','保存成功',function(){ Leaf.showMessage('提示','保存成功',function(){
ds.query(); ds.query();
Leaf.Masker.unmask(detail_mask);
}); });
Leaf.Masker.unmask(detail_mask);
}, },
failure: function() { failure: function() {
Leaf.Masker.unmask(detail_mask); Leaf.Masker.unmask(detail_mask);
......
...@@ -54,8 +54,8 @@ ...@@ -54,8 +54,8 @@
success: function(res) { success: function(res) {
Leaf.showMessage('提示','保存成功',function(){ Leaf.showMessage('提示','保存成功',function(){
ds.query(); ds.query();
Leaf.Masker.unmask(detail_mask);
}); });
Leaf.Masker.unmask(detail_mask);
}, },
failure: function() { failure: function() {
Leaf.Masker.unmask(detail_mask); Leaf.Masker.unmask(detail_mask);
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
} }
if (records.length != 0) { if (records.length != 0) {
Leaf.showConfirm('${l:HLS.PROMPT}', '${l:HLS030.CONFIRM_DELETE}', function() { Leaf.showConfirm('${l:HLS.PROMPT}', '${l:HLS030.CONFIRM_DELETE}', function() {
Leaf.Masker.mask(detail_mask, '${l:HLS.EXECUTING}');
Leaf.request({ Leaf.request({
url: $('je_template_delete_link').getUrl(), url: $('je_template_delete_link').getUrl(),
para: paras, para: paras,
...@@ -41,6 +42,7 @@ ...@@ -41,6 +42,7 @@
Leaf.showMessage('提示','删除成功',function(){ Leaf.showMessage('提示','删除成功',function(){
ds.query(); ds.query();
}); });
Leaf.Masker.unmask(detail_mask);
}, },
failure: function() { failure: function() {
Leaf.Masker.unmask(detail_mask); Leaf.Masker.unmask(detail_mask);
...@@ -78,8 +80,8 @@ ...@@ -78,8 +80,8 @@
success: function(res) { success: function(res) {
Leaf.showMessage('提示','保存成功',function(){ Leaf.showMessage('提示','保存成功',function(){
ds.query(); ds.query();
Leaf.Masker.unmask(detail_mask);
}); });
Leaf.Masker.unmask(detail_mask);
}, },
failure: function() { failure: function() {
Leaf.Masker.unmask(detail_mask); Leaf.Masker.unmask(detail_mask);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment