Handle popups in a way to work with FF and IE out of the box.

remotes/svn/3.6
Andreas Granig 13 years ago
parent 24e20c4328
commit e9839b32fd

@ -80,7 +80,7 @@
<td class="callfee">[% callentry.call_fee %]</td>
[% END %]
<td class="calldate">[% callentry.date %]</td>
<td><a href="javascript:$('#cdrdialog[% i %]').dialog('open');">Details</a></td>
<td><a class="cdrpopup" id="[% i %]" href="#">Details</a></td>
</tr>
[% END %]
@ -127,3 +127,10 @@
</tr>
</table>
<script>
$(function () {
$('.cdrpopup').click(function(){
$('#cdrdialog'+$(this).attr('id')).dialog('open');
});
});
</script>

Loading…
Cancel
Save