The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I need to add a function to the newthread onsubmit, but I can't get it to work. It only executes the first function, no matter what one I put first.
I changed this: Code:
<form action="newthread.php" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>>
Code:
<script type="text/javascript" src="clientscript/vbulletin_trader.js"></script>
<form action="newthread.php" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return (vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars]) && validateAd(this));"</if>>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|