External onclick handler for checking inputs on submit.
This commit is contained in:
parent
7818fb1c96
commit
6906e2cac4
@ -67,9 +67,9 @@
|
||||
</div>
|
||||
|
||||
<div class="form_buttons">
|
||||
<input type="submit" value="{$CONST.GO}" onclick="checkInputs();">
|
||||
<input class="check_inputs" type="submit" value="{$CONST.GO}">
|
||||
<span class="hilite_b"> {$CONST.WORD_OR} </span>
|
||||
<input name="go_properties" type="submit" value="{$CONST.GO_ADD_PROPERTIES|@escape}" onclick="checkInputs();">
|
||||
<input class="check_inputs" name="go_properties" type="submit" value="{$CONST.GO_ADD_PROPERTIES|@escape}">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -824,6 +824,11 @@ function highlightComment(id, checkvalue) {
|
||||
checkInputs();
|
||||
});
|
||||
|
||||
$('.check_inputs').click(function(e) {
|
||||
checkInputs();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
// Limit width of media file info
|
||||
var $mediaPane = $('body').has('.media_pane');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user