[hobbit] New enable/disable tool ready for testing
Henrik, That change did the job. It is now working with both IE and Firefox
Kevin
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Saturday, April 16, 2005 5:26 PM To: hobbit at hswn.dk Subject: Re: [hobbit] New enable/disable tool ready for testing Importance: Low
On Sat, Apr 16, 2005 at 05:05:53PM -0400, kevin hanrahan wrote:
(267) </tr> <tr> <td align=center> <input name=apply type="button" onClick="validateDisable(this.form)" value="Apply"></td> </tr>
If you could send me the full HTML document, I'd be interested to see if it is equally broken when I view it. This smells of a browser issue
- which IE version are you using ?
Just as an experiment, could you try changing line 348 of hobbitd/hobbitsvc-info.c ? It currently is
addtobuffer(buf, buflen, " <tr> <td align=center> <input
name=apply type=\"button\" onClick=\"validateDisable(this.form)\" value=\"Apply\"></td> </tr>\n");
Try changing it to
addtobuffer(buf, buflen, " <tr> <td align=center> <input
name=apply type=\"submit\" value=\"Apply\"></td> </tr>\n");
i.e. change the type from "button" to "submit", and remove the "onClick" stuff.
If that makes it work, then it's the Javascript form validation that is broken - maint.pl has a config item to disable that, so maybe I should just mimic this.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Sat, Apr 16, 2005 at 06:49:18PM -0400, kevin hanrahan wrote:
Henrik Stoerner wrote:
Just as an experiment, could you try changing line 348 of hobbitd/hobbitsvc-info.c ? It currently is
That change did the job. It is now working with both IE and Firefox
I'm puzzled why you see this problem - both IE and Firefox handle the Javascript stuff with no problems here. So I'm still interested to a) hear what browser versions you're using, and b) get the full info-page HTML that triggers this bug.
Anyway, I've added a couple of options to the hobbitsvc.cgi tool, so you can disable the javascript validation, or completely remove the "disable" form from the info-column page.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
kevin@ewormhole.com