[asterisk-bugs] [Asterisk-GUI 0012533]: Firefox 3: cannot select specific user/extension

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jun 5 09:53:09 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12533 
====================================================================== 
Reported By:                tzafrir
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   12533
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 2752 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-27-2008 09:01 CDT
Last Modified:              06-05-2008 09:53 CDT
====================================================================== 
Summary:                    Firefox 3: cannot select specific user/extension
Description: 
When using Firefox 3: In the "extensions" screen - when you press on a
specific extension in the list to select it, all of the extensiosnsions
will be selected and the interface is not usable.

Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5)
Gecko/2008041514 Firefox/3.0b5

(tested with rev. 2752 of asterisk-gui but this should probably apply to
current trunk)
====================================================================== 

---------------------------------------------------------------------- 
 crpth - 06-05-08 09:53  
---------------------------------------------------------------------- 
I had this problem yesterday and took the time to figure out the problem.
It is caused by Firefox 3's proper support for the contenteditable
attribute. "Setting contentEditable to "true" allows you to make parts of a
document editable." (More here:
http://starkravingfinkle.org/blog/2007/07/firefox-3-contenteditable/ ) 

The attribute is used incorrectly in the asterisk gui, _I think_ in an
attempt to disable the select box before its loaded, and then enable it
after it is loaded. However, now that FF3 has support for this tag, it is
instead making the element (brokenly) editable.

I fixed my gui by commenting out the following lines of these files:
config/users.html:      _$('devices').contentEditable = 'true';
config/users.html:      _$('devices').contentEditable = 'false';
config/trunks.html:     _devices.contentEditable = 'true';
config/trunks.html:     _$('devices').contentEditable = 'false';
config/meetme.html:     _ext.contentEditable = 'true';
config/meetme.html:     _$('extensions').contentEditable = 'false';
config/voicemail.html:  $('extensions').contentEditable = 'true';
config/voicemail.html:  $('extensions').contentEditable = 'false'; 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-05-08 09:53  crpth          Note Added: 0087844                          
======================================================================




More information about the asterisk-bugs mailing list