Firefox Extension: Save key/values when the length is greater than 0.
This commit is contained in:
parent
b429401790
commit
081799ea65
@ -235,7 +235,6 @@ function promptuser()
|
||||
obj = obj.QueryInterface(Components.interfaces.IMiCASAKeys);
|
||||
}
|
||||
|
||||
//alert("Reading");
|
||||
var theValue = new String;
|
||||
var res;
|
||||
try
|
||||
@ -384,6 +383,8 @@ function promptuser()
|
||||
//alert('do nothing');
|
||||
}
|
||||
else
|
||||
{
|
||||
if (sValue.length > 0)
|
||||
{
|
||||
logMessage('Writing ' + secretID + ' : ' + sKey + ' : xxxxxxx');
|
||||
try {
|
||||
@ -400,6 +401,7 @@ function promptuser()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (autologin.selected)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user