Private key password is now updated if it is empty (#138)

This commit is contained in:
Clément Oudot 2010-08-16 16:10:36 +00:00
parent 94883e3b00
commit ac0ac04daf

View File

@ -915,10 +915,8 @@ function generateFile(id){
if(lmtext(id)=='samlServicePrivateKeyEnc'){_public='samlServicePublicKeyEnc';}
_id=$('#'+lmparent(id)+' span[name='+_public+']').attr('id').replace(/text_/,'');
setlmdata(_id,data.content.public);
if(password.length){
_id=$('#'+lmparent(id)+' span[name='+lmtext(id)+'Pwd]').attr('id').replace(/text_/,'');
setlmdata(_id,password);
}
filearea(id);
},
error:function(xhr, ajaxOptions, thrownError){