DomAPI Home
DomAPI
Build: 4.0
Topic: FireFIX :-)

  ozznixon registered v4 wrote on Monday 8/28/06 at 9:21 AM (PST)  
 

in: domapi.comps.window._free = function(arg){

this.titleBar._free();

Firefox does not like the above line. Stating in Console:

this.titleBar._free is not a function - like 154 window.js

 
    RSS feed of forum  
  ozznixon registered v4 wrote on Monday 8/28/06 at 9:28 AM (PST)  
 

Another on - dropdown.js

domapi.comps.dropdown._ondafocus = function(){
try{
this.edit.focus();

Does not like edit.focus(). States: "Permission denied to set property XULElement.selectedIndex when calling method: nsIAutoCompletePopup::selectedIndex - location: .../domapi/src/hui/dropdown.js :: anonymous :: like 107 :: data no

 
    RSS feed of forum  
  BeamGate registered v4 wrote on Tuesday 8/29/06 at 6:56 AM (PST)  
 

This issue has been a long-runing one with FF thru 1.5 and has to deal with FF's autocomplete feature. The bug is (https://bugzilla.mozilla.org/show_bug.cgi?id=236791). Keep in mind tho, this problem generates a pesky exception, but does not halt execution.

To avoid this error, you have to turn off autocomplete.

from javascript, you can do that in following way:

obj.setAttribute('autocomplete','off');


Or, you can simply set autocomplete="off" in HTML.

This was supposedly addressed in FF 1.5.01.

BeamGate (Doug Hendricks)

 
    RSS feed of forum  
  ozznixon registered v4 wrote on Tuesday 8/29/06 at 9:51 AM (PST)  
 

FYI: I am running FF 1.5.0.6, I have from RC1 all the way to the latest release from FF/BugZilla guys :-P

I have dropped IE support - it is just too slow!

 
    RSS feed of forum  
  ozznixon registered v4 wrote on Tuesday 8/29/06 at 9:56 AM (PST)  
 

Speaking of AutoComplete - have another question about drop downs.

Is ther a magic keystroke to allow me to type upon focus of a combobox?

I would like to support

1. onfocus, drop down automatically
2. also, on keystroke, if not dropped down, drop down
3. if keystroke=CR then close dropdown (validate if needed) then advanced to next field

Any suggestions?
O

 
    RSS feed of forum  
  ozznixon registered v4 wrote on Thursday 9/14/06 at 8:12 AM (PST)  
 

Doug, what did you mean by: you can simply set autocomplete="off" in HTML.

put that in the first line of the script - or ? (I do not want to modify every component, so I want to try your "global" approach.

Thanks,
Ozz

 
    RSS feed of forum  
  BeamGate registered v4 wrote on Friday 9/15/06 at 10:11 AM (PST)  
 

Peruse this: http://devedge-temp.mozilla.org/viewsource/2003/form-autocompletion/index_en.html
BeamGate (Doug Hendricks)

 
    RSS feed of forum  
You could respond to this post if you were logged in.
DHTML by www.domapi.com