Re: [Prelude Hybrid IDS] #231: java script refresh

"Prelude Hybrid IDS" <[email protected]>
Newsgroups gmane.comp.security.ids.prelude.devel
Message-ID <[email protected]>
#231: java script refresh
---------------------------------+------------------------------------------
 Reporter:  [email protected]  |        Owner:  yoann          
     Type:  enhancement          |       Status:  assigned       
 Priority:  normal               |    Milestone:  Prewikka 0.9.12
Component:  prewikka             |      Version:  0.9            
 Severity:  normal               |   Resolution:                 
 Keywords:  refresh              |  
---------------------------------+------------------------------------------
Comment (by [email protected]):

 I found two issues with the patch both of which i corrected and put into
 prewikka-refresh-improved-compatability.diff

 1) a quoting issue in the checkbox resulted in "checked="checked"" Firefox
 detects and fixes this without complaint but other browsers had issues
 with it.

 2)with some of the browsers i tested
 {{{

 status = document.getElementById("auto_apply_current")
 status.innerHTML = Math.floor(second_count / 60) + ":" + pad((second_count
 % 60))

 }}}
 didn't work  so i changed it to
 {{{

 document.getElementById("auto_apply_current").innerHTML =
 Math.floor(second_count / 60) + ":" + pad((second_count % 60))

 }}}
 this worked with all of the browsers I tested

 I successfully tested this version of the patch with the following
 browsers.
 on Linux konqueror, Firefox, Opera
 on Windows IE7

-- 
Ticket URL: <https://trac.prelude-ids.org/ticket/231#comment:10>
Prelude Hybrid IDS <http://www.prelude-ids.org>
The Prelude Hybrid Intrusion Detection System suite
_______________________________________________
Prelude-devel site list
[email protected]
http://www.prelude-ids.org/mailman/listinfo/prelude-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.