New firefox + firebug breaks select2 in wrapbootstrap pixel-admin theme - firefox

I'm getting a TypeError: elem.dispatchEvent is not a function using select2 in jquery using the wrapbootsrap pixel-admin theme.
It can be reproduced in firebug on the demo site via http://radiant-ocean-4606.herokuapp.com/forms-advanced.html
Firefox Version: 29.0.1
Firebug Version: 1.12.8
It's a similar error message to this question:
"element.dispatchEvent is not a function" js error caught in firebug of FF3.0
But the answer there doesn't help me as my site is all jquery (well as far as I know - I did somewhat accept the theme bundle as it came for the time being until I have time to really rip it apart and modify it in detail).

This was caused by changes to the browser, the solution was to stop using firebug. The features firebug offered are ubiquitous now!

Related

Domino 9.01 Fix 3 CKEditor error - No error on 9.01 Fix 1

Hope someone can help me, I've been stuck for a few days now.
After updating my Domino server to 9.01 Fix 3 I keep getting an error on the javascript console:
TypeError: this.editor.getData is not a function
This is the image of the error:
Console Error Message
And all buttons on my page stop working.
If I comment the Richtext code on the page, everything starts working again, this is the code:
<xp:inputRichText id="ds_decisao" styleClass="data" disableClientSideValidation="true" value="#{dts_proposta.ds_texto}" required="false" disableValidators="true" title="titulo" immediate="true"></xp:inputRichText>
This server is for test purposes, so we have the same code in another one that the version is 9.01 Fix 1, and the error does not happen there. The page code is exactly the same, just the server version is different.
I don't know where in the code the problem is, inside CKEditor or Domino, because both of them get updates going from Fix 1 to Fix 3.
I have tried downgrading the version of CKEditor to the same one that is on the 9.01 Fix 1 server, but the error persists. So maybe that points to something on the Domino code, not the CKEditor, but I don't know.
I have to use Fix 3 for security reasons, and I do need CKEditor.
Has anyone encounter this problem?
Any help is appreciated.
Thanks!
I have recently run in to exactly this issue and exact error message with CKEditor in XPages 9.0.1 FP3
I found that when there is an SSJS onClientLoad event on the page it causes an AJAX POST event to the server and this is stopping the CKEditor from loading successfully. Removing the SSJS onClientLoad event allowed the page to load as expected.

Selenium Firefox 19 CSS Menu Click Not Working

Using Selenium, with an earlier combo of the webdriver (2.28.0) and Firefox (pre-19), the following code worked.
driver.get("http://www.haemonetics.com/en");
driver.findElement(By.linkText("LOGIN")).click();
driver.findElement(By.linkText("Haemonetics")).click();
With webdriver 2.31.0 and Firefox 19.0.2 the code does not work and I receive a NoSuchElementException for the second findElement.
I tried using xpath which doesn't work for Firefox but does work for Chrome and IE, which are part of the same test suite.
Any thoughts or another way to accomplish the same thing? I would prefer to use the same code for the mentioned browsers.
Not sure if it was a typo on your part, but it should be "find_element" instead of "findelement", at least it's so in 2.31 to my knowledge.
Try
driver.find_element_by_link_text("LOGIN")
if that doesn't work, post your HTML code so we can possibly construct a working Xpath.

My Wordpress is completely broken in Safari

In Safari 5.1.2 on OSX
Tech.li is completely broken.
Some people mentioned an extra div tag being the cause, but that still didn't fix the issue.
Any help would be greatly appreciated!
Pretty basic: fix your xhtml errors [Invalid] Markup Validation of tech.li - W3C Markup Validator (scroll down in the validation report to see line numbers and source code). And use Firebug with Firefox, or in Chrome or Safari or IE8, use the developer tools to find and fix the javascript errors.

WordPress Media Library is invisible

I'm encountering a really frustrating problem with WordPress and I hope someone can help. Images are uploading to WordPress correctly (they are in the library) but once a file is uploaded there is simply a blank screen. Closing and reopening the "Add an Image" window, I still cannot add them to posts unless I enter the full URL because the "Media Library" tab simply doesn't show anything (see below - interface shows there are 33 images and 4 tabbed pages, but none of them are displayed.
I've about reached the end of my rope trying to fix this problem. Searched and searched and can find no answer. Some people had similar problems, and I tried all of their posted solutions, including:
Uninstalled all plugins
Nuked and reinstalled all wordpress files
Checked browser versions (occurring in Chrome 7.0.5 and FireFox 3.2)
No JavaScript errors found (used Firebug and Chrome's JS panel)
Checked domain name in Settings for improper capitalization
Checked image URL to make sure there was no gibberish, and there isn't
Does anyone have any suggestions (I'm running version 3.0.2 on Apache)? I'd be forever in your debt. Thank you!
Oops, it won't let me post an image because of 'spam protection.' Drats!
Check this: WordPress › Support » Image/Media Uploader problems?
Who is your web host? How much php memory are you allocated? Is GD library for php installed?

How can I try this jquery plugin - Galleria?

Ok. I have some experience with HTML and CSS, little with Javascript and none with JQuery.
And I'm trying to try out in my HTML file the Galleria plugin with fullscreen theme but I can't make it work. ( http://galleria.aino.se/ )
It only show the empty page with no pictures. I took the source code from the demo page and I pasted in my page and after some little modifications with the url of the theme, I managed to have on my screen only the image, without the "mechanism". Any help?
I think the instructions were made for an old release of the plugin and that's the reason I can't get it work.
P.S. I found a ready made demo on googlecode, but I can't get the fullscreen feature. Any help?
Try passing debug:true to yield more errors if you are seeing a blank page. Regarding customizations, try the documentation and API reference.

Resources