Skip to content

Commit

Permalink
Purged unused well
Browse files Browse the repository at this point in the history
  • Loading branch information
jirislav committed Aug 26, 2015
1 parent 42d6334 commit d11de5c
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions themes/cpk-devel/templates/record/view.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@
$recordID = $this->driver->getUniqueId();
$recordSource = explode(".", $recordID)[0];
?>

<script src="/themes/cpk-devel/js/ajax-record-tabs.js"></script>
<script>


jQuery( document ).ready( function( $ ) {

var recordID = '<?= $this->driver->getUniqueID() ?>';
Expand All @@ -104,12 +104,12 @@
$( '#buy' ).parent().removeClass( 'active' ).addClass( 'disabled' );

var sfxJibResult = getSfxJibResult('http://sfx.jib.cz/sfxlcl3', '<?= $this->driver->getUniqueID() ?>', 'ANY');

var source = "<?= $recordSource ?>";

// select default record group
$( '#record-group li a' ).each( function() {

var title = $( this ).attr( 'title' );
if ( $( this ).attr( 'id' ).toLowerCase().indexOf( source.toLowerCase() ) >= 0 ) {
$( '#first-record-group' ).text( title );
Expand All @@ -119,12 +119,6 @@

});
</script>
<div class="well">

<? foreach ($this->related()->getList($this->driver) as $current): ?>
<?=$this->related()->render($current)?>
<? endforeach; ?>
</div>

</div>
</div>

0 comments on commit d11de5c

Please sign in to comment.