Loading...
 
Skip to main content

Custom Share Module 0.1dev

Development

Development


IE7 problem with show/hide menu javascript

posts: 838 United Kingdom

Hi - I'm hoping that someone from the developer community can suggest a short term patch for this problem since it is causing me some difficulty - sadly there are too many users out there whose habits I can't control 😑 and that are using IE7 instead of FF

I have already posted this as a probable bug (2112) where with version 2.2 using the "Show/Hide Menus" option to collapse a left or right hand column with IE7 gives page errors and does not execute. Error message for example says:

Line 409
Char 4
Error: Could not get the display property. Invalid argument.
Code:0
URL: http://dev.tikiwiki.org/tiki-index.php (external link)

The function (naturally) works fine in FF3 and (surprisingly) IE6 but gives exactly the same problem across a number of different tiki sites/themes when using IE7, including dev.tikiwiki.org.

The error message (it is assumed) refers to the function flip(foo,style) in lib/tiki-js.js and I've done a bit of googling and there seem to be all sorts of IE7 issues with getElementById so I'm speculating that this may have something to do with it.

Is anyone looking at this problem? If anyone has any suggestions that I could implement on a per site basis until (presumably) a new release sorts it out I would really appreciate it.

Thanks

posts: 838 United Kingdom

Just to let everyone know I have resolved this issue with the help of a colleague by creating a patch to the tiki-js.js code. This is described more fully in an update to the bug posting here

Hopefully this can get cleaned up by a real developer and included in a new release as soon as possible.

Thanks