Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F15614582
common.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
726 B
Referenced Files
None
Subscribers
None
common.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
[
"dojo.dnd.common"
]){
dojo
.
_hasResource
[
"dojo.dnd.common"
]
=
true
;
dojo
.
provide
(
"dojo.dnd.common"
);
dojo
.
dnd
.
getCopyKeyState
=
dojo
.
isCopyKeyPressed
;
dojo
.
dnd
.
_uniqueId
=
0
;
dojo
.
dnd
.
getUniqueId
=
function
(){
var
id
;
do
{
id
=
dojo
.
_scopeName
+
"Unique"
+
(
++
dojo
.
dnd
.
_uniqueId
);
}
while
(
dojo
.
byId
(
id
));
return
id
;
};
dojo
.
dnd
.
_empty
=
{};
dojo
.
dnd
.
isFormElement
=
function
(
e
){
var
t
=
e
.
target
;
if
(
t
.
nodeType
==
3
){
t
=
t
.
parentNode
;
}
return
" button textarea input select option "
.
indexOf
(
" "
+
t
.
tagName
.
toLowerCase
()
+
" "
)
>=
0
;
};
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 25, 22:21 (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24182
Default Alt Text
common.js (726 B)
Attached To
Mode
rZED Zed
Attached
Detach File
Event Timeline
Log In to Comment