I opened issue with Aloha module here #1593642: Compability with Panels IPE. Would it be possible to take a look at this issue and suggest Aloha maintainers most obvious places where to look for solutions to make their module compatible. I think that would help them a little. Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | ctools-modal.js-1593652-3.patch | 491 bytes | muhleder |
| #3 | ctools-modal.js-1593652#3.patch | 491 bytes | muhleder |
Comments
Comment #1
henrijs.seso commentedMoving to more proper place due to latest discoveries.
Comment #2
henrijs.seso commentedThere is a problem in modal.js in
forloop, linefor (var i in $(target).parents().get()) {. It stops working if some other module requires ExtJs (for example, Aloha editor) with which Array prototype has a method 'remove' which gets in loop and brakes js.See more at #1593642: Compability with Panels IPE comment #13.
Comment #3
muhleder commentedHere's a patch which should fix it. You will probably see the same issue with other libraries which extend the array prototype, eg prototype.js
http://www.prototypejs.org/api/array
Personally I don't think these libraries should be doing this, but anyway..
Comment #4
tim.plunkettNaming the patch with a # prevents me from opening it. Can you reupload it?
Comment #5
muhleder commentedSure, sorry about that.
Comment #6
henrijs.seso commented#5 fixes particular issue with ExtJs. Well done!
(Shame I could not figure it out myself even with tutorial, so that's how you iterate through numeric keys...)
Comment #7
henrijs.seso commentedComment #8
tobiasbavailability_calendars use also Array.prototype, which cost me hours to understand, why on earth works my modal window on this page but not this page :D. now I know it.
Comment #9
andypostI think there's more then one place with wrong enum for properties.
Comment #10
merlinofchaos commentedCommitted and pushed.