projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
db27711
)
Mise en place du canevas pour gérer la sélection des cases à cocher.
author
Benoît Pin
<benoit.pin@gmail.com>
Sun, 8 Dec 2013 09:04:45 +0000
(10:04 +0100)
committer
Benoît Pin
<benoit.pin@gmail.com>
Sun, 8 Dec 2013 09:04:45 +0000
(10:04 +0100)
skins/ajax_scripts/folder_contents_script.js
patch
|
blob
|
history
diff --git
a/skins/ajax_scripts/folder_contents_script.js
b/skins/ajax_scripts/folder_contents_script.js
index
d427939
..
00bdeb9
100644
(file)
--- a/
skins/ajax_scripts/folder_contents_script.js
+++ b/
skins/ajax_scripts/folder_contents_script.js
@@
-29,7
+29,8
@@
FolderDDropControler = function(listing) {
this.listing.onmousedown = function(evt) {thisControler.drag(evt);};
this.listing.onmouseover = function(evt) {thisControler.moveRow(evt);};
this.listing.onmouseup = function(evt) {thisControler.drop(evt);};
this.listing.onmousedown = function(evt) {thisControler.drag(evt);};
this.listing.onmouseover = function(evt) {thisControler.moveRow(evt);};
this.listing.onmouseup = function(evt) {thisControler.drop(evt);};
- this.listing.onclick = function(evt) {thisControler.disableClickAfterDrop(evt);};
+ addListener(this.listing, 'click', function(evt) {thisControler.disableClickAfterDrop(evt);});
+ addListener(this.listing, 'click', function(evt) {thisControler.selectCBRange(evt);});
if (browser.isIE) {
this.listing.ondragstart = function() { window.event.returnValue = false;};
if (browser.isIE) {
this.listing.ondragstart = function() { window.event.returnValue = false;};
@@
-134,6
+135,10
@@
FolderDDropControler.prototype.disableClickAfterDrop = function(evt) {
this.reset();
};
this.reset();
};
+FolderDDropControler.prototype.selectCBRange = function(evt) {
+};
+
+
FolderDDropControler.prototype.reset = function() {
this.targetRow = null;
this.lastOverPosition = null;
FolderDDropControler.prototype.reset = function() {
this.targetRow = null;
this.lastOverPosition = null;