git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git]
/
docs
/
source
/
LoadMask.html
diff --git
a/docs/source/LoadMask.html
b/docs/source/LoadMask.html
index
14764bd
..
44ac065
100644
(file)
--- a/
docs/source/LoadMask.html
+++ b/
docs/source/LoadMask.html
@@
-1,5
+1,6
@@
<html>
\r
<head>
\r
<html>
\r
<head>
\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
\r
<title>The source code</title>
\r
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
<title>The source code</title>
\r
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
@@
-26,16
+27,22
@@
Ext.LoadMask = function(el, config){
this.el = Ext.get(el);
Ext.apply(this, config);
if(this.store){
this.el = Ext.get(el);
Ext.apply(this, config);
if(this.store){
- this.store.on('beforeload', this.onBeforeLoad, this);
- this.store.on('load', this.onLoad, this);
- this.store.on('exception', this.onLoad, this);
+ this.store.on({
+ scope: this,
+ beforeload: this.onBeforeLoad,
+ load: this.onLoad,
+ exception: this.onLoad
+ });
this.removeMask = Ext.value(this.removeMask, false);
}else{
var um = this.el.getUpdater();
um.showLoadIndicator = false; // disable the default indicator
this.removeMask = Ext.value(this.removeMask, false);
}else{
var um = this.el.getUpdater();
um.showLoadIndicator = false; // disable the default indicator
- um.on('beforeupdate', this.onBeforeLoad, this);
- um.on('update', this.onLoad, this);
- um.on('failure', this.onLoad, this);
+ um.on({
+ scope: this,
+ beforeupdate: this.onBeforeLoad,
+ update: this.onLoad,
+ failure: this.onLoad
+ });
this.removeMask = Ext.value(this.removeMask, true);
}
};
this.removeMask = Ext.value(this.removeMask, true);
}
};