When I enable extras for IMCE & try to drag the middle bar to resize the file area, my cursor gets stuck on the resizing feature and does not stop until I reload the page.
I'm experiencing this issue while using Firefox & Opera, I'm using Drupal 5.3 & the latest version of IMCE.

Firefox' web developer's toolbar gives me the following error:
Error: $(document).unmousemove is not a function
Source File: /modules/imce/imce_extras.js
Line: 61

Any suggestions for a work around or a permanent solution will be greatly appreciated.
Thanks.

Comments

makbeta’s picture

For anyone else experiencing the issue. What I've done is disabled the extra features & then modified the following line in imce.css file to give more space for file listing:
#bodydiv {/*File list area*/
height: 115px;
overflow: auto;
}

ufku’s picture

which version of jquery are you using?
you should use the one that comes with Drupal5. it is 1.0.4 i guess.

ennetws’s picture

Status: Active » Needs review

Its a jQuery/IMCE versions issue.

Try replacing the line 61 of the file 'imce_extras.js':

$(document).unmousemove(doDrag).unmouseup(endDrag);

with

$(document).unbind('mousemove', doDrag).unbind('mouseup', endDrag);

Hope this helps.

sdsheridan’s picture

This fixed it for me! Thank you so much!

ufku’s picture

Status: Needs review » Fixed

commited. thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

naught101’s picture

For reference, I also found this bug in line 28 of /misc/textarea.js
Changing:
$(document).unmousemove(performDrag).unmouseup(endDrag);
to
$(document).unbind('mousemove', performDrag).unbind('mouseup', endDrag);
fixed the problem.

naught101’s picture

Project: IMCE » Drupal core
Version: 5.x-1.x-dev » 5.7
Component: User interface » javascript
Status: Closed (fixed) » Needs review

I just upgraded my sites to 5.7, and this re-appeared. Possibly only in sites that include use the zen theme, or a derivative thereof. Anyway, see my previous comment for the patch.

Moving this to drupal, because I'm getting it with tinyMCE, not IMCE.

drumm’s picture

Project: Drupal core » TinyMCE
Version: 5.7 » 5.x-1.x-dev
Component: javascript » Code
Status: Needs review » Active
xayberoptix’s picture

Naught101,

Thank you! This fixed it for me. I'm on Drupal 5.9.

Changing:
$(document).unmousemove(performDrag).unmouseup(endDrag);
to
$(document).unbind('mousemove', performDrag).unbind('mouseup', endDrag);

on line 28 of textarea.js (found at /misc/textarea.js)

naught101’s picture

Status: Active » Closed (fixed)

I'm gonna call this closed. it's fixed in drupal 6 and 7.