mGSD icon indicating copy to clipboard operation
mGSD copied to clipboard

Error in macro <<search>> in IE8

Open simonbaird opened this issue 16 years ago • 3 comments

And check for any other other IE problems.

simonbaird avatar Mar 09 '10 22:03 simonbaird

It's not a bug, it's a feature --> use Chrome! =P

Jobirder avatar Apr 21 '10 04:04 Jobirder

I duplicated this issue in IE8 and mGSD 3.1.9 beta. The error does not occur if the bundled 'YourSearchPlugin 2.1.3' plugin is disabled. The error is occuring because the plugin is attempting to set the 'type' of the search 'input' element to 'text'. Since the default 'type' for an 'input' element in IE8 is 'text', this is not necessary so the following code:

`````` txt.onkeyup=_163;txt.onfocus=_166;txt.setAttribute("size",_16a);txt.setAttribute("accessKey",this.accessKey);txt.setAttribute("autocomplete","off");if(config.browser.isSafari){txt.setAttribute("type","search");txt.setAttribute("results","5");}else{txt.setAttribute("type","text");}can be changed to:txt.onkeyup=_163;txt.onfocus=_166;txt.setAttribute("size",_16a);txt.setAttribute("accessKey",this.accessKey);txt.setAttribute("autocomplete","off");if(config.browser.isSafari){txt.setAttribute("type","search");txt.setAttribute("results","5");}```

See the 'Remarks' section of http://msdn.microsoft.com/en-us/library/ms534700(v=vs.85).aspx for details. I will contact the owner of the YourSearchPlugin with this information.

rgallion avatar Dec 03 '11 13:12 rgallion

Hi,

I just released YourSearchPlugin v2.1.6:

 http://tiddlywiki.abego-software.de/#%5B%5BYourSearchPlugin%20v2.1.6%20released%5D%5D

This should fix the issue.

Udo

abego avatar Apr 19 '12 01:04 abego