projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e1e041
)
Roo/form/Action.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 10 Feb 2011 06:17:30 +0000
(14:17 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 10 Feb 2011 06:17:30 +0000
(14:17 +0800)
Roo/form/Action.js
patch
|
blob
|
history
diff --git
a/Roo/form/Action.js
b/Roo/form/Action.js
index
5d9bfce
..
eae17c6
100644
(file)
--- a/
Roo/form/Action.js
+++ b/
Roo/form/Action.js
@@
-313,6
+313,9
@@
Roo.extend(Roo.form.Action.Load, Roo.form.Action, {
type : 'load',
run : function(){
+ if (this.form.maskEl) {
+ this.form.maskEl.mask("Loading");
+ }
Roo.Ajax.request(Roo.apply(
this.createCallback(), {
method:this.getMethod(),
@@
-322,6
+325,9
@@
Roo.extend(Roo.form.Action.Load, Roo.form.Action, {
},
success : function(response){
+ if (this.form.maskEl) {
+ this.form.maskEl.unmask();
+ }
var result = this.processResponse(response);
if(result === true || !result.success || !result.data){
this.failureType = Roo.form.Action.LOAD_FAILURE;