// (c) BenoƮt PIN 2006-2007
// http://plinn.org
// Licence GPL
-// $Id: folder_contents_script.js 1375 2008-09-12 12:29:12Z pin $
-// $URL: http://svn.cri.ensmp.fr/svn/Plinn/branches/CMF-2.1/skins/ajax_scripts/folder_contents_script.js $
+//
+//
+
+var FolderDDropControler;
+var DropTarget;
+var loadListing;
+
+(function(){
function getTargetRow(evt){
var target = getTargetedObject(evt);
return target;
}
-function FolderDDropControler(listing) {
+FolderDDropControler = function(listing) {
this.folderUrl = document.getElementById("FolderUrl").innerHTML;
this.targetRow = null;
this.lastOverPosition = null;
-function DropTarget(node, folderDDControler) {
+DropTarget = function(node, folderDDControler) {
this.folderDDControler = folderDDControler;
this.batchSize = parseInt(document.getElementById("BatchNavigationSize").innerHTML);
var thisControler = this;
-function loadListing(evt) {
+loadListing = function(evt) {
var target = getTargetedObject(evt);
disableDefault(evt);
disablePropagation(evt);
}
return false;
}
+
+}());
\ No newline at end of file