⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Multi Select autocomplete does not work in IE7



amityweb
  • profile picture
  • Member

Posted 27 May 2012 - 11:28 AM

In IE7 the flexigrid autocomplete thing is not working in IE7. It just shows the normal HTML multiselect box. We have thousands of entries to choose from, also people are making mistakes where they re-edit something and click on a choice without realising there are other choices (so dont hold control for multiselect), which then get deselected.

So basically the normal HTML form will not work for us, we need the multiselect to work as flexigrid designs it to, but the customer uses IE7 as they in a University so upgrade is not an option.

Thanks

amityweb
  • profile picture
  • Member

Posted 27 May 2012 - 11:29 AM

Oh, there are no JS errors showing either

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 27 May 2012 - 11:50 AM

I am sorry [member='amityweb'] but grocery CRUD doesn't support internet explorer 7 anymore. It supports internet explorer 8 and later as I also mention at the about grocery CRUD page: http://www.grocerycr...mentation/about

The time that takes for me for debugging for internet explorer 7 is almost the double time for me and I took this decision cause it doesn't worth it for the only 2.3 % of the web users.

When I will find some time I will try to have a work-around for your problem but still using grocery CRUD for internet explorer 7 cannot guarantee stability so perhaps you will have some other problems in the future.

Kindest Regards
John Skoumbourdis.

amityweb
  • profile picture
  • Member

Posted 27 May 2012 - 12:12 PM

Hi

Sorry but I think you are being early to stop support for IE7, thats crazy. Referring to 2.3% as ONLY 2.3% is mad. Thats tens of thousands of people that cant use GroceryCrud apps. I went to very interesting lecture the other day about how the web is broken... because everyone relies on easy and modern technology and overlooks what people actually use. Its such a shame. Apps built right need fallbacks.

Can you at least please point me in the right direction, this needs to be fixed. Many universities and corporations (people that will use database systems, e.g. GroceryCrud) will still be on IE7 for some time.

Thanks

P.S. It works fine apart from this multiselect so we only need that fixed. Is it a flexigrid issue?

amityweb
  • profile picture
  • Member

Posted 27 May 2012 - 12:32 PM

Does it use "harvethq chosen" for the dropdowns? http://harvesthq.github.com/chosen/ I can see in the code the classnames are the same (which led me to harvesthq chosen). Because this works in IE7 OK.

If it does use it, is it a question of upgrading or something?

Point me in the right direction and maybe I can try to fix it.

If I can I would love to issue a pull request in GitHub for you, but I am not 100% up with Git yet, just learning. I dont have a good setup for integrating any Git developments I have into my real projects. I dont have a development site for this yet, I work on the live one with backups (I know, bad) but would like to sort all that out soon once up to speed on GitHub and integrating yours into my project workflow.

Thanks

amityweb
  • profile picture
  • Member

Posted 27 May 2012 - 12:53 PM

I upgraded all the chosen files from http://harvesthq.github.com/chosen/ that are used and still does not work. I find this strange because their demo's work (and someone else's) in IE7.

So is there some outside, grocerycrud influence that is preventing chosen from working in IE7 when it is supposed work?

Thanks a lot

amityweb
  • profile picture
  • Member

Posted 27 May 2012 - 13:27 PM

There's a line in jquery.chosen.js to disable for IE7, line 284 (version 0.9.8):
if ($.browser.msie && ($.browser.version === "6.0" || $.browser.version === "7.0")) {


The strange thing is this is the same code as on their GitHub site, but it works when viewed on this site:
http://harvesthq.github.com/chosen/

I have IE8 in compatibility mode, maybe GitHub have something else making it work.

So removing the line makes it work, although the styling is not as good.

amityweb
  • profile picture
  • Member

Posted 27 May 2012 - 13:47 PM

All seems to work without this, but its slow. I remember this form being very slow previously, then I upgraded and it was fast. I guess they disabled it due to the slowness in iE7....

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 27 May 2012 - 14:40 PM

[member='amityweb'] I really appreciate your opinion about Internet Explorer 7 and I will take a look at the chosen plugin more further. If it is the only thing that doesn't work well then it worth it to make grocery CRUD IE 7 compatible. Well as the next version will probably be only bug fixes I think I can plan to have it IE7 compatible. I also included as an issue to remind me to fix it ( https://github.com/scoumbourdis/grocery-crud/issues/46 ). As always without any promises I will try to fix this problem as for version 1.2.3 or at least find a solution for this.

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 27 May 2012 - 15:02 PM

Well I just checked at their forums that they are not supporting IE7 browser either. So I will try to actually disable the chosen plugin as for IE7 and enable the other plugin for multi-select that I have.

P.S. By they way I checked to a real IE7 and the website doesn't work. As I understood they just disable the plugin for IE7.

amityweb
  • profile picture
  • Member

Posted 28 May 2012 - 10:18 AM

Thanks johnny

We decided not to support IE6 some time ago, but still support IE7. Many customers still come back to us reporting issues in websites in IE7 if we don't so people are using it. People see small percentages but don't realise that its thousands of users. Some of those users could be paying customers of our clients, so they lose money. A lot more money than it cost to fix issues in IE7.

The lecture I attended was an eye opener really. It made me realise the web is broken, due to people relying on modern unsupported technology with no fallbacks. We decided we need to check our websites in IE6, just make them presentable only, just to make sure 100% visitors can see SOMETHING presentable, rather than a broken site. Either a Graceful Degradation approach, or a Progressiv Enhancement Approach.

The issue in question is graceful degradation I suppose. I mean it still actually works, so its not really applicable, but when you have thousands of users it is quote a bad way to manage it. The Chosen feature really helps when you have thousands of entries. This is the issue with data being lost I mentioned on another post.

Anyway... I think my fix is working now, so I don;t mind if you don't fix it. It would be good to find out why Harvest decided to disable it for IE7 though, just in case there is another issue waiting to happen!

Thanks

P.S. I realise this is a Harvest issue with the JQuery Chosen plugin and not your issue, so I would not expect you to fix it now we identified it anyway.

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 04 October 2012 - 17:42 PM

Hello [member='amityweb'],

I know this is an old post, I just want you to inform you that the new version 1.3.2 is supporting IE7. After reading a very interesting article http://www.smashingmagazine.com/2012/07/12/its-time-to-stop-blaming-internet-explorer/ , now grocery CRUD supports IE 7 . The idea is to use the named "Progressive Enhancement" for old browsers. This means that everything will work fine for older browsers too, still there will be some differences mostly at the design (e.g. not suppporting cornered inputs e.t.c.)

Cheers
Johnny

amityweb
  • profile picture
  • Member

Posted 04 October 2012 - 19:03 PM

Thats good... I do think it good to support it still. BUT due to this issue I have convinced my customers users to move to Chrome... some users were using IE8, and due to having over 4000 records in the multi select drop down, it would take several minutes to load. Yes actually several (as in more than 2) to load the page... I thought it was due to 4000 records only, and said Chrome may be a bit faster as its more modern... well, the amazing thing is that in Chrome it is INSTANT. As instant as the page can load over the internet speed anyway. Its amazing how faster it is in Chrome than IE8. So because of this I convinced them to move. Its good you do support it though because they are in a University and its difficult to upgrade software there, some people wont be so lucky!

Thanks

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 04 October 2012 - 19:56 PM

[quote name='amityweb' timestamp='1349377419' post='3759']
Thats good... I do think it good to support it still. BUT due to this issue I have convinced my customers users to move to Chrome... some users were using IE8, and due to having over 4000 records in the multi select drop down, it would take several minutes to load. Yes actually several (as in more than 2) to load the page... I thought it was due to 4000 records only, and said Chrome may be a bit faster as its more modern... well, the amazing thing is that in Chrome it is INSTANT. As instant as the page can load over the internet speed anyway. Its amazing how faster it is in Chrome than IE8. So because of this I convinced them to move. Its good you do support it though because they are in a University and its difficult to upgrade software there, some people wont be so lucky!

Thanks
[/quote]

Well there is an answer even for them. They can easily have chrome to their internet explorer easily with Google Chrome Frame as the article says

"If you’re on a system at your place of employment where you’re not able to upgrade or download a new browser, Chrome Frame is a viable option. You don’t need any special administrator privileges to install Chrome Frame, so you can keep using the same version of Internet Explorer, and almost instantly have a far superior browsing experience that’s identical to using the latest version of Google Chrome."

It is really good that you convinced your customer to use chrome and I am really happy that they can see the difference.

Cheers
Johnny

costicanu
  • profile picture
  • Member

Posted 14 January 2013 - 13:15 PM

I worked my app in Firefox. After I finished it and tested to see how it looks in IE9 I saw a disaster. It looks like this: http://dogmagazin.ro.../edit-users.jpg

Any idea what I miss?

In Firefox everything looks fine, all grocery crud styles are ok.

I updated grocery crud to the last version, I think it already was the last version