Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F883764
DialogUnderlay.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
DialogUnderlay.js
View Options
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if
(
!
dojo
.
_hasResource
[
"dijit.DialogUnderlay"
]){
dojo
.
_hasResource
[
"dijit.DialogUnderlay"
]
=
true
;
dojo
.
provide
(
"dijit.DialogUnderlay"
);
dojo
.
require
(
"dijit._Widget"
);
dojo
.
require
(
"dijit._Templated"
);
dojo
.
declare
(
"dijit.DialogUnderlay"
,[
dijit
.
_Widget
,
dijit
.
_Templated
],{
templateString
:
"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' dojoAttachPoint='node'></div></div>"
,
dialogId
:
""
,
"class"
:
""
,
attributeMap
:
{
id
:
"domNode"
},
_setDialogIdAttr
:
function
(
id
){
dojo
.
attr
(
this
.
node
,
"id"
,
id
+
"_underlay"
);
},
_setClassAttr
:
function
(
_1
){
this
.
node
.
className
=
"dijitDialogUnderlay "
+
_1
;
},
postCreate
:
function
(){
dojo
.
body
().
appendChild
(
this
.
domNode
);
},
layout
:
function
(){
var
is
=
this
.
node
.
style
,
os
=
this
.
domNode
.
style
;
os
.
display
=
"none"
;
var
_2
=
dijit
.
getViewport
();
os
.
top
=
_2
.
t
+
"px"
;
os
.
left
=
_2
.
l
+
"px"
;
is
.
width
=
_2
.
w
+
"px"
;
is
.
height
=
_2
.
h
+
"px"
;
os
.
display
=
"block"
;
},
show
:
function
(){
this
.
domNode
.
style
.
display
=
"block"
;
this
.
layout
();
this
.
bgIframe
=
new
dijit
.
BackgroundIframe
(
this
.
domNode
);
},
hide
:
function
(){
this
.
bgIframe
.
destroy
();
this
.
domNode
.
style
.
display
=
"none"
;
},
uninitialize
:
function
(){
if
(
this
.
bgIframe
){
this
.
bgIframe
.
destroy
();
}
this
.
inherited
(
arguments
);
}});
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 6, 01:14 (3 w, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24952
Default Alt Text
DialogUnderlay.js (1 KB)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment