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.3.1 - Released 11/30/2010
[extjs.git]
/
src
/
widgets
/
Layer.js
diff --git
a/src/widgets/Layer.js
b/src/widgets/Layer.js
index
e977066
..
f9da2d1
100644
(file)
--- a/
src/widgets/Layer.js
+++ b/
src/widgets/Layer.js
@@
-1,8
+1,8
@@
/*!
/*!
- * Ext JS Library 3.
2.0
- * Copyright(c) 2006-2010
Ext JS,
Inc.
- * licensing@
extjs
.com
- * http://www.
extjs
.com/license
+ * Ext JS Library 3.
3.1
+ * Copyright(c) 2006-2010
Sencha
Inc.
+ * licensing@
sencha
.com
+ * http://www.
sencha
.com/license
*/
/**
* @class Ext.Layer
*/
/**
* @class Ext.Layer
@@
-27,9
+27,10
@@
(function(){
Ext.Layer = function(config, existingEl){
config = config || {};
(function(){
Ext.Layer = function(config, existingEl){
config = config || {};
- var dh = Ext.DomHelper;
- var cp = config.parentEl, pel = cp ? Ext.getDom(cp) : document.body;
- if(existingEl){
+ var dh = Ext.DomHelper,
+ cp = config.parentEl, pel = cp ? Ext.getDom(cp) : document.body;
+
+ if (existingEl) {
this.dom = Ext.getDom(existingEl);
}
if(!this.dom){
this.dom = Ext.getDom(existingEl);
}
if(!this.dom){
@@
-244,6
+245,10
@@
Ext.extend(Ext.Layer, Ext.Element, {
}
return this;
},
}
return this;
},
+
+ getConstrainOffset : function(){
+ return this.shadowOffset;
+ },
isVisible : function(){
return this.visible;
isVisible : function(){
return this.visible;