[xwiki-users] Javascript issue
Hi I'm using a modal window (subModal) in my xwiki and things work fine until I try to use it while in 'inline' mode and using Firefox 3.0.10 (IE works). The problem is that the modal window opens and closes straight away making the parent page go from 'inline' to 'preview' mode!! Looks like js method 'window.setTimeout' is not executing. Has anyone had js probs in the past?? Do xwiki developers have any idea? I can see two errors in the Error console: Error: Permission denied to get property XULElement.accessibleType Source File: http://localhost:8082/xwiki/resources/js/prototype/prototype.js Line: 2015 And Error: Permission denied to get property XULElement.accessibleType Source File: http://localhost:8082/xwiki/bin/jsx/scripts/subModal?language=en Line: 1 (Problem here is that xwiki displayed js script on one line) Ajdin -------------------------------------------------------- NOTICE This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee. Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hi Adjin I've added on code.xwiki.org a modal box extension based on http://www.wildbit.com/labs/modalbox/ You can find it here :http://code.xwiki.org/xwiki/bin/view/Applications/ModalBoxApplication Starting with XWiki 1.9 Milestone 2 (to be released very soon), there will be a modal popup UI component that you will be able to reuse, too. Check it on the release notes http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise19M2#HNe... (Note the releases notes are still work in progress until the actual release, there are even more new things in this release!) Cheers, Jerome. Ajdin Brandic wrote:
Hi
I'm using a modal window (subModal) in my xwiki and things work fine until I try to use it while in 'inline' mode and using Firefox 3.0.10 (IE works). The problem is that the modal window opens and closes straight away making the parent page go from 'inline' to 'preview' mode!! Looks like js method 'window.setTimeout' is not executing.
Has anyone had js probs in the past?? Do xwiki developers have any idea?
I can see two errors in the Error console: Error: Permission denied to get property XULElement.accessibleType Source File: http://localhost:8082/xwiki/resources/js/prototype/prototype.js Line: 2015
And
Error: Permission denied to get property XULElement.accessibleType Source File: http://localhost:8082/xwiki/bin/jsx/scripts/subModal?language=en Line: 1 (Problem here is that xwiki displayed js script on one line)
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Jerome This is a great news. Thank you. Ajdin -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jerome Velociter Sent: 06 May 2009 19:27 To: XWiki Users Subject: [xwiki-users] Modal window UI component for XWiki (was Re:Javascript issue) Hi Adjin I've added on code.xwiki.org a modal box extension based on http://www.wildbit.com/labs/modalbox/ You can find it here :http://code.xwiki.org/xwiki/bin/view/Applications/ModalBoxApplication Starting with XWiki 1.9 Milestone 2 (to be released very soon), there will be a modal popup UI component that you will be able to reuse, too. Check it on the release notes http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise19M2 #HNewreusable7E7Ecomponents7E7E (Note the releases notes are still work in progress until the actual release, there are even more new things in this release!) Cheers, Jerome. Ajdin Brandic wrote:
Hi
I'm using a modal window (subModal) in my xwiki and things work fine until I try to use it while in 'inline' mode and using Firefox 3.0.10 (IE works). The problem is that the modal window opens and closes straight away making the parent page go from 'inline' to 'preview' mode!! Looks like js method 'window.setTimeout' is not executing.
Has anyone had js probs in the past?? Do xwiki developers have any idea?
I can see two errors in the Error console: Error: Permission denied to get property XULElement.accessibleType Source File: http://localhost:8082/xwiki/resources/js/prototype/prototype.js Line: 2015
And
Error: Permission denied to get property XULElement.accessibleType Source File: http://localhost:8082/xwiki/bin/jsx/scripts/subModal?language=en Line: 1 (Problem here is that xwiki displayed js script on one line)
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Ajdin Brandic -
Jerome Velociter