]>
git.wh0rd.org - tt-rss.git/blob - lib/dojo/dnd/common.js
2 Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
3 Available via Academic Free License >= 2.1 OR the modified BSD license.
4 see: http://dojotoolkit.org/license for details
8 if(!dojo
._hasResource
["dojo.dnd.common"]){
9 dojo
._hasResource
["dojo.dnd.common"]=true;
10 dojo
.provide("dojo.dnd.common");
11 dojo
.dnd
.getCopyKeyState
=dojo
.isCopyKey
;
13 dojo
.dnd
.getUniqueId=function(){
16 id
=dojo
._scopeName
+"Unique"+(++dojo
.dnd
._uniqueId
);
17 }while(dojo
.byId(id
));
21 dojo
.dnd
.isFormElement=function(e
){
26 return " button textarea input select option ".indexOf(" "+t
.tagName
.toLowerCase()+" ")>=0;