Manager: handle SAML buttons

This commit is contained in:
Clément Oudot 2010-03-03 10:26:42 +00:00
parent d5431376e4
commit c00345cfc6

View File

@ -225,6 +225,8 @@ function display(div,title) {
$('#content_title').html(title); $('#content_title').html(title);
$('#newkb,#newrb,#delkb,#newkbr,#newrbr,#bdelvh').hide(); $('#newkb,#newrb,#delkb,#newkbr,#newrbr,#bdelvh').hide();
$('#newsamlmetadatab,#delsamlmetadatab').hide(); $('#newsamlmetadatab,#delsamlmetadatab').hide();
$('#newsamlattributeb,#delsamlattributeb').hide();
$('#newsamlattributebr').hide();
} }
function none(id) { function none(id) {
currentId=id; currentId=id;
@ -294,7 +296,6 @@ function samlAttribute(id) {
$('#samlAttributeFriendlyName').attr('value',t[3]); $('#samlAttributeFriendlyName').attr('value',t[3]);
display('samlAttribute',lmtext(id)); display('samlAttribute',lmtext(id));
$('#newsamlattributeb,#delsamlattributeb').show(); $('#newsamlattributeb,#delsamlattributeb').show();
$('#newsamlattributebr').hide();
} }
function samlAttributeRoot(){ function samlAttributeRoot(){
currentId=simpleTreeCollection[0].getSelected().attr('id'); currentId=simpleTreeCollection[0].getSelected().attr('id');