Skip to content
Snippets Groups Projects
Commit b53accc8 authored by renater.salaun's avatar renater.salaun
Browse files

Fix tab 4 problem with dialog opening

Setting :
e.stopPropagation();
        e.preventDefault();
        return false;


git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@33 047e039d-479c-447e-8a29-aa6bf4a09bab
parent b309c291
No related branches found
No related tags found
No related merge requests found
......@@ -6,17 +6,20 @@ jQuery(document).ready(function($){
$( ".account_details" ).dialog({
title: "Account details",
autoOpen: false,
width: 0.8*$(window).width(),
buttons: {
Ok: function() {
$( this ).dialog( "close" );
}
}
});
[% FOREACH account IN test_accounts %]
$( "#show_account_details_[% account.get('id') %]" ).click(function() {
$("#account_details_[% account.get('id') %]").dialog( "open" );
$( ".show_account_details" ).click(function(e) {
var id = $(this).attr('id').substr(5);
$("#" + id).dialog( "open" );
e.stopPropagation();
e.preventDefault();
return false;
});
[% END %]
});
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment