Advertisement:

Author Topic: Does 3.7 fix the problem with IE and Drag and Drop?  (Read 1449 times)

developerchris

  • Newbie
  • *
  • Posts: 5
Does 3.7 fix the problem with IE and Drag and Drop?
« on: December 21, 2016, 02:25:08 am »
I have only just created a site using osclass 3.6.1 One of the first complaints I got was IE 11 users were unable to use Drag and Drop when creating new listings.

Upon investigation I found that a Javascript error occured on "dragenter" and "dragleave" the error was "Unexpected call to method or property access"

I just tested it on the demo site and I get the same error.

This is a major issue which I could not find in the list of known issues. I was wondering if its been fixed?

The version of fineuploader used is also a very old version 3.x as compared to the current 5.1.1

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Does 3.7 fix the problem with IE and Drag and Drop?
« Reply #1 on: December 21, 2016, 04:23:04 pm »
Ignore my first post, best thing to do is download the free plugin Teseo created which you can find in the Market.
Look for: "preResize_images".

Works great!

Regards,
Eric
« Last Edit: December 22, 2016, 01:53:17 am by SmaRTeY »

developerchris

  • Newbie
  • *
  • Posts: 5
Re: Does 3.7 fix the problem with IE and Drag and Drop?
« Reply #2 on: December 22, 2016, 03:25:04 am »
As I understand it pre-resizer resizes images client side (which is a great idea and I will use it) but still uses fineuploader to do the actual upload. in which case it won't fix my problem which is in the fineuploader library.

I tried to use the latest fineuploader 5.1.1 but it is too different and not a drop in replacement for fineuploader included with osclass.  As fineuploader is core I do not want to modify core unless I really have to.

UPDATE:
I didn't realise the pre_resizer includes fineuploader 55.11.10 I'll let you know if it resolves my issue .
« Last Edit: December 22, 2016, 06:52:41 am by developerchris »

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Does 3.7 fix the problem with IE and Drag and Drop?
« Reply #3 on: December 22, 2016, 09:29:59 pm »
The plugin title is focussed on resizing which is actually as good as or better that the drag/drop but yes it comes with another fineupload lib and for me using Boxer theme it ran out of the box making my IE drag/drop issue disappear AND resizing my images.

This plugin is of great value as well as Teseo's commerical plugin which enabled Multi-language custom fields. 8)

As I understand it pre-resizer resizes images client side (which is a great idea and I will use it) but still uses fineuploader to do the actual upload. in which case it won't fix my problem which is in the fineuploader library.

I tried to use the latest fineuploader 5.1.1 but it is too different and not a drop in replacement for fineuploader included with osclass.  As fineuploader is core I do not want to modify core unless I really have to.

UPDATE:
I didn't realise the pre_resizer includes fineuploader 55.11.10 I'll let you know if it resolves my issue .

developerchris

  • Newbie
  • *
  • Posts: 5
Re: Does 3.7 fix the problem with IE and Drag and Drop?
« Reply #4 on: January 01, 2017, 05:32:44 am »
 :(

After installing version 2.0.1 IE 11 would still not work. This time the error was "promise is undefined" I am researching a fix and have asked the developer.

I will report my results here...

developerchris

  • Newbie
  • *
  • Posts: 5
Re: Does 3.7 fix the problem with IE and Drag and Drop?
« Reply #5 on: January 02, 2017, 07:01:17 am »
I put in a simple fix for the IE issues.

Around line 185 in index.php for the plugin change the following line from

                    customResizer: !qq.ios() && function (resizeInfo) {
To
                    customResizer: !qq.ios() && !qq.ie() && function (resizeInfo) {

This prevents promise from being called for IE browsers


teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Does 3.7 fix the problem with IE and Drag and Drop?
« Reply #6 on: January 02, 2017, 01:30:41 pm »
Hi,

I've seen you question also on the Market. When I have some time I'll study the issue.

Regards