Sha256: e7ed0f1bf4e9488f74dae9abedc06865baa84ed0bd81d7a5e28f2440fe833b92

Contents?: true

Size: 887 Bytes

Versions: 9

Compression:

Stored size: 887 Bytes

Contents

//>>built
define("dojox/layout/dnd/Avatar",["dijit","dojo","dojox","dojo/require!dojo/dnd/Avatar,dojo/dnd/common"],function(_1,_2,_3){
_2.provide("dojox.layout.dnd.Avatar");
_2.require("dojo.dnd.Avatar");
_2.require("dojo.dnd.common");
_2.declare("dojox.layout.dnd.Avatar",_2.dnd.Avatar,{constructor:function(_4,_5){
this.opacity=_5||0.9;
},construct:function(){
var _6=this.manager.source,_7=_6.creator?_6._normalizedCreator(_6.getItem(this.manager.nodes[0].id).data,"avatar").node:this.manager.nodes[0].cloneNode(true);
_2.addClass(_7,"dojoDndAvatar");
_7.id=_2.dnd.getUniqueId();
_7.style.position="absolute";
_7.style.zIndex=1999;
_7.style.margin="0px";
_7.style.width=_2.marginBox(_6.node).w+"px";
_2.style(_7,"opacity",this.opacity);
this.node=_7;
},update:function(){
_2.toggleClass(this.node,"dojoDndAvatarCanDrop",this.manager.canDropFlag);
},_generateText:function(){
}});
});

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/layout/dnd/Avatar.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/layout/dnd/Avatar.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/layout/dnd/Avatar.js
dojox-rails-0.11.0 vendor/assets/javascripts/layout/dnd/Avatar.js
dojo-rails-0.9.4 vendor/assets/javascripts/dojox/layout/dnd/Avatar.js
dojo-rails-0.9.3 vendor/assets/javascripts/dojox/layout/dnd/Avatar.js
dojo-rails-0.9.2 vendor/assets/javascripts/dojox/layout/dnd/Avatar.js
dojo-rails-0.9.1 vendor/assets/javascripts/dojox/layout/dnd/Avatar.js
dojo-rails-0.9.0 vendor/assets/javascripts/dojox/layout/dnd/Avatar.js