[hobbit] New enable/disable tool ready for testing
OK, Did a make clean make make install
Tried again and got the same result from IE. Here is the surrounding code:
</SELECT> </td></tr> </table> </td> (267) </tr> <tr> <td align=center> <input name=apply type="button" onClick="validateDisable(this.form)" value="Apply"></td> </tr> </table> </td> </table> <input name="hostname" type=hidden value="zeus">
Also, Firefox still does nothing.
Kevin
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Saturday, April 16, 2005 4:34 PM To: hobbit at hswn.dk Subject: Re: [hobbit] New enable/disable tool ready for testing Importance: Low
On Sat, Apr 16, 2005 at 04:12:33PM -0400, kevin hanrahan wrote:
OK, I installed the new patch without any problems but I get odd results when trying to use it. Using it from the Info page: Microsoft IE - "A runtime error has occurred. Line 267 - Object expected selecting a different server produces a different line number but the same error
Could you try doing a "View source" and let me know what's on that line and the surrounding 3-5 lines ?
I've tried it with IE before releasing and it worked for me, obviously. I've validated the HTML, but this is probably something with the Javascript code.
Firefox Mozilla - clicking on the disable button does absolutely
nothing
Probably the same issue. I saw something similar during testing.
Just to rule out any ghosts - did you do a "make clean" before building Hobbit after the patch was applied ?
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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
participants (2)
-
henrik@hswn.dk
-
kevin@ewormhole.com