Okay! Got Outline Designer working, and it's 90% awesome. Reordering is smooth and easy. Looks good. Very pleased.

However, most of the rendered buttons on the page don't do anything if I'm using Internet Explorer 10:

"Add content" does nothing.
The font-size adjustment does nothing.
Open/close the book DOES WORK. Question: is there any way from within the module to change the open/closed book icons?
The "content operations" link, the one that looks like crossed tools, does nothing.
The rightward arrow that's supposed to open up a particular leaf...does nothing.
The "View" button DOES WORK.

And that's it. There are no errors getting thrown in the server log nor in Drupal. They're just dead.

But...they work great when I'm logged in as User1. My User1 is logged into Chrome (yay). My test account is logged into IE10.0.9200.blah.

When I log in my test account into Chrome, everything works! Yay! But the "view" operation is not visible. Actually I would prefer if it weren't visible so this is a better thing.

To recap:

Mixed functionality when logged into IE10, including the "view" link. Mostly nothing works.
Full functionality when logged into Chrome, minus the "view" link. <-- This is the functionality I'm hoping for in all browsers!

I'm sure you will not be surprised to find that Firefox works as well. So this is an IE10 thing.

Comments

err... sounds like a different issue to me only because I have a Surface and have done testing w/ IE 10 but it's possible. Are you running any jquery based modules in ur setup like jquery update or other projects that may be leading to additional js errors? I can whip out the Surface and do some more testing but I test all my tools on that now as well as MBP w/ Chrome / Saf / FF.

As for the view link, did you go to admin/content/book/outline_designer and see if the grid of options is setup for the buttons to be visible per role? May want to just submit that page to seed them just in case.

As for the icons across the top you can swap them out in the module itself if you want, no plans to make those configurable at this time (though I would accept patches to accomplish that).

This is a bit beyond my technical capabilities, but I started developer mode in IE10 to see what I could turn up. I turned on script debugging and this is what I got:

SCRIPT5009: 'jwerty' is undefined
integration.js, line 4 character 3
SCRIPT5009: 'jwerty' is undefined
outline_designer_book.js, line 5 character 3
SCRIPT1010: Expected identifier
outline_designer_book.js, line 207 character 31

And when I ran it while trying to use the interface, this is what I got:

In outline_designer/js/outline_designer.js?mrhjvy

Line 239 is:

return context[func].apply(this, args);

And the error I get when clicking on "Add content" is:

SCRIPT5007: Unable to get property 'apply' of undefined or null reference
outline_designer.js, line 239 character 3

Is that useful or gibberish?

I don't think I have any other jquery based modules running.

No that's very helpful; Open the JWERTY.txt file included with outline_designer and follow the steps to put jwerty in the correct location and let me know if that helps alleviate any issues. It's possible that this may only correct a few things or if you already have that part installed, delete the library so that it doesn't try to load it (an issue may be that its trying to load it and that library doesn't support IE10, not sure).

I hate tracking down JS issues and there's a ton of JS in the project obviously :)

Okay!

Downloaded the jwerty file, renamed it, dropped it into /libraries.

Flushed all caches. Reloaded the page in IE10.

Nothing works. :-(

I re-ran developer mode and came up with a couple new errors:

SCRIPT1010: Expected identifier
outline_designer_book.js, line 207 character 31
SCRIPT5007: Unable to get property 'apply' of undefined or null reference
outline_designer.js, line 239 character 3

Those popped when I attempted the "add content" button.

HOLD THE PRESSES.

Re-reloaded and everything works!

That "view" operation is now also hidden, just like in all the other browsers.

I now have only feature requests. :-)

Thanks for your patience, btopro!

Well...I'm going to reopen this. IE has stopped cooperating, again.

I ran the IE debugger and got this again when I tried to click on any button:

SCRIPT1010: Expected identifier
outline_designer_book.js, line 207 character 31

And everything has reverted to the previous behavior. I'm running the latest -dev version and I've changed nothing, it just suddenly stopped working. And like before, it works just fine in Chrome and Firefox.

JWERTY library is set up where it's supposed to be.

So...like I said, IE just decided to stop cooperating. Thoughts?

Additional craziness the debugger threw at me:

SCRIPT1010: Expected identifier
outline_designer_book.js, line 207 character 31
SCRIPT5007: Unable to get property 'apply' of undefined or null reference
outline_designer.js, line 239 character 3
SCRIPT5007: Unable to get property 'apply' of undefined or null reference
outline_designer.js, line 239 character 3

Title:Mostly broken functionality in IE10.Compatibility with IE 10

ya i don't know, I guess we just don't support IE10 at this time. like I said I'd gladly accept patches but like you said, your not a dev :). Thanks for at least getting this thread going incase others are able to pick up and fix this issue. I changed the issue name so maybe people can find it a bit easier if this is what they need support for. Running a full http://www.jslint.com/ audit may resolve the issues but not sure and would require some significant debugging most likely, though if you had it working previously that's quite strange that it would just "stop working".

Have you tried either aggregating or NOT aggregating files in performance settings and seeing if that helps?

Okay. Tried aggregating both css and js files. IE10 doesn't work.

Tried aggregating only css. IE10 doesn't work.

Tried aggregating only js. And no again. :-(

Flushed caches at every step.

Again, it is super weird that it HAD WORKED. And then it stopped!

Status:Active» Closed (cannot reproduce)

Not sure if I should submit a new ticket and patch for this (new here) but I also had the unexpected identifier issue, turns out older IEs don't like the function "delete". I changed all the references to be "del" instead (this includes "delete_reset") in both JS files and a few lines in the module class. This fixed it for me.

roll a patch for review. the previous issue was that I have IE10 and couldn't produce issues on my instance of IE10. Also make sure your not aggregating js files together for tests, I've noticed IE (usually 10 in compatibility mode) have some issues when the JS files were all crushed together. Nothing specific to the outline designer though.