Git Product home page Git Product logo

Comments (6)

roosten avatar roosten commented on June 19, 2024

I'll try to be a bit contructive here:

I assigned DatePicker to all inputs like this:
new DatePicker($$('input.date'))

The first time I click on the input it works fine.
The close event (line 327) is called twice though on closing.

The second time the datepicker opens but yields an error on closing becouse frame.destroy==undefined.

I hope this helps somewhat.

p.s.
I have no choice but to use IE8 :(

from mootools-datepicker.

goulian avatar goulian commented on June 19, 2024

Hi roosten, here is what I did, at Line 328 I replaced frame.destroy() with Browser.ie ? frame.empty().dispose() : frame.destroy()

from mootools-datepicker.

eerne avatar eerne commented on June 19, 2024

Would be great if you provide a jsfiddle example next time, to reproduce the issue. I've set up a basic datepicker on http://jsfiddle.net/tofu/NABTC/

Does that work for you or give error?

Also: do you guys use iframeshim?

from mootools-datepicker.

goulian avatar goulian commented on June 19, 2024

Does that work for you or give error?
hi eerne, just checked your jsfiddle example and yes error reproduced in ie8, please see issue No.7 that I commented:
http://github.com/arian/mootools-datepicker/issues#issue/24

Also: do you guys use iframeshim? No

thanks for all your work...

from mootools-datepicker.

roosten avatar roosten commented on June 19, 2024

Thanks goullian,

Your fix works for me as well and I guess this works similar to destroy(). At least doesn't leave unused objects.

Hi, eerne, your example produced the exact same error in ie8.
I'm not using iframeshim unless it's default.

from mootools-datepicker.

arian avatar arian commented on June 19, 2024

Thanks goulian. This error is fixed in 1096e9596

from mootools-datepicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.