changeCodec no longer needs to be passed this
parent
6a56de41f0
commit
524a39a224
|
@ -182,7 +182,7 @@ if ( canEdit('Events') ) {
|
|||
</div>
|
||||
<div id="codecControl">
|
||||
<label for="codec"><?php echo translate('Codec') ?></label>
|
||||
<?php echo htmlSelect('codec', $codecs, $codec, array('data-on-change-this'=>'changeCodec')); ?>
|
||||
<?php echo htmlSelect('codec', $codecs, $codec, array('data-on-change'=>'changeCodec')); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -143,8 +143,8 @@ function setButtonState( element, butClass ) {
|
|||
}
|
||||
}
|
||||
|
||||
function changeCodec(element) {
|
||||
location.replace(thisUrl + '?view=event&eid=' + eventData.Id + filterQuery + sortQuery+'&codec='+element.value);
|
||||
function changeCodec() {
|
||||
location.replace(thisUrl + '?view=event&eid=' + eventData.Id + filterQuery + sortQuery+'&codec='+$j('#codec').val());
|
||||
}
|
||||
|
||||
function changeScale() {
|
||||
|
|
Loading…
Reference in New Issue